[Lazarus] Lazarus code editor: what happened with the caret?

Lubos Pintes lubos.pintes at gmail.com
Sat Oct 7 18:46:31 CEST 2017


This helped a lot, thanks!

Dňa 7. 10. 2017 o 17:25 Martin Frb via Lazarus napísal(a):
> If it hooks ExtTextOut, then the color settings will most likely make a 
> difference.
> 
> Each time the color (or text style, e.g. bold) changes, the Editor 
> interrupts the output, and makes a new call. Also colors change, when 
> the caret moves, so there is constant redrawing.
> 
> I attached a file editoroptions.xml
> It has (almost) all colors black and white. Selected text will be bold.
> 
> While lazarus is not running, put this file into: (replacing username 
> with your name / make a backup of the old file)
> 
> C:\Users\username\AppData\Local\lazarus\editoroptions.xml
> 
> This file also overrides keyboard shortcuts, and mouse settings (in case 
> you changed any of them).
> 
> 
> 
> On 07/10/2017 15:46, Lubos Pintes via Lazarus wrote:
>> Hello and thank for info. NVDA uses screen scraping, it hooks Windows 
>> API like ExtTextOut, TextOut, etc. This rarely works well, and it is 
>> used as a last chance when everything else fails.
>> Also there is an OCR, but it is only for static things, i.e. take a 
>> snapshot of window and OCR it. So for example an inaccessible 
>> installer can be used quite well, but something as dynamic as edit 
>> text area cannot, at least now.
> 
> 
> 




More information about the Lazarus mailing list