Re: Settings for highlighting all occurrences of selected text [73530]

2020-05-22 Tema obsahu Professor Bernd
pspad: Different color for occurences is already implemnted. I did it today. Font color will stay as standard font color. Thanks a lot!

Re: Settings for highlighting all occurrences of selected text [73531]

2020-05-22 Tema obsahu Jan Fiala
Yes, I understand. There is a lot of occurences for one char. But highlighting isn't provided in whole file, but in the visible area only. -- PSPad freeware editor https://www.pspad.com

Re: Settings for highlighting all occurrences of selected text [73532]

2020-05-22 Tema obsahu Professor Bernd
pspad: It was first implementation of this functionality, I await lot of comments and there will be lot of optimalizations. e.g. whitespace on the begin won't be highlighted at all e.t.c. Same as following feature -

=?windows-1250?Q?reloadUserHighlighter_broken?_[73534]?=

2020-05-22 Tema obsahu Professor Bernd
Since a while the VBScript function "reloadUserHighlighter" does not work anymore. Is it broken or am I using it incorrectly? My call: reloadUserHighlighter("AutoIt3") -- PSPad freeware editor https://www.pspad.com

Re: Skin [73533]

2020-05-22 Tema obsahu Jan Fiala
V dalším buildu bude první nástřel skinů. Zatím to má ještě nějaká omezení, ale to se časem poddá. -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?Re:_reloadUserHighlighter_broken?_[73535]?=

2020-05-22 Tema obsahu Professor Bernd
I have now found out that the following code loads the user highlighter. Dim obj Set obj = NewEditor() obj.assignActiveEditor() obj.highlighter("AutoIt3") reloadUserHighlighter("AutoIt3") Unfortunately not the current highlighter is used, but a "built-in" one. To explain the

=?windows-1250?Q?Re:_reloadUserHighlighter_broken?_[73536]?=

2020-05-22 Tema obsahu Jan Fiala
I checked functionality and reloadUserHighlighter function really reloads user highlighter definition. It looks for a slot where user highlighter is assigned and if it's found, function reloads definition. I will make some simulation, but call of the function should be enough withtout creating

=?windows-1250?Q?Re:_reloadUserHighlighter_broken?_[73537]?=

2020-05-22 Tema obsahu Jan Fiala
Just tested. I used my testing Dummy highlighter. 1. I opened new document with this highlighter 2. Prepare keywords in the document include unknown keywords 3. Prepare script with only call of the reloadUserHighlighter("Dummy") 4. I edit manually dummy.ini and add missing keyword 5. Call of the

=?windows-1250?Q?Re:_reloadUserHighlighter_broken?_[73539]?=

2020-05-22 Tema obsahu Jan Fiala
If syntax definition doesn't exists, this is a problem, cause it can't be assigned to the highlighter and even is assigned and later deleted, it isn't loaded during PSpad start. It means AutoIt highlighter doesn't exist and can't be reloaded. This isn't problem of the script function. --

=?windows-1250?Q?Re:_reloadUserHighlighter_broken?_[73538]?=

2020-05-22 Tema obsahu Professor Bernd
Now that you are writing this, it occurs to me that this was the case when it worked for me some time ago. Now I have found the problem: _[color=#ff]Case 1[/color]_: The error does NOT occur if the AutoIt3.ini exists and is only changed by the backup. _[color=#ff6600]Case 2[/color]_: The