[softwarelist] Re: SRWE Applet
- From: Andy.Ling@xxxxxxxxxxx
- To: davidpilling@xxxxxxxxxxxxx
- Date: Mon, 10 Apr 2006 15:51:31 +0100
> Ovation Pro Windows 2.90 (29th March)
>
> There seems to be a problem with the SRWE Applet. To illustrate:
>
> Define a style called 'red' to change the colour of the target word -
set
> its scope to 'word'.
> Select a target word and enter in the search box
> Enter the same target word in the replace box and set 'red' in the drop
down
> menu
> check the 'whole word' box
> activate the search and replace process
>
Well the problem is to do with the way the new style is applied.
What happens is the "found" word(s) is deleted, the style is then
added and the new word(s) typed in. The adding of the style adds
it to the word after the point where the new words are going to
be put. Not exactly what is wanted.
I have made a quick change that puts the first letter of the new
words in, then moves the cursor back, adds the style, moves the
cursor forward, then adds the rest of the words.
This seems horrible, but I haven't got a better solution just now.
Perhaps David or others could suggest a better way of doing this.
Andy Ling
- References:
- [softwarelist] SRWE Applet
- From: Jeff Wallis
Other related posts:
- » [softwarelist] SRWE Applet
- » [softwarelist] Re: SRWE Applet
- [softwarelist] SRWE Applet
- From: Jeff Wallis