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

Martin Frb lazarus at mfriebe.de
Sat Oct 7 17:25:11 CEST 2017


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: editoroptions.xml
Type: text/xml
Size: 8033 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171007/3e1e444d/attachment-0001.xml>


More information about the Lazarus mailing list