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

2017-10-07 Thread Lubos Pintes via Lazarus
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

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

2017-10-07 Thread Martin Frb via Lazarus
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 edit

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

2017-10-07 Thread Lubos Pintes via Lazarus
Ahh, LCLCheckListBox is also not accessible, so I cannot disable things there, I have no feedback. Dňa 7. 10. 2017 o 16:46 Lubos Pintes via Lazarus napísal(a): Hello and thank for info. NVDA uses screen scraping, it hooks Windows API like ExtTextOut, TextOut, etc. This rarely works well, and it

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

2017-10-07 Thread Lubos Pintes via Lazarus
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 e

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

2017-10-07 Thread Martin Frb via Lazarus
To rebuild the IDE, open the Tools Menu. 2nd last entry: "Build Lazarus ... profile name" Or last entry "Configure build lazarus" which opens a dialog, so you can specify compiler options. How does NVDA read the content of a control? Does it do OCR? Because SynEdit is entirely custom drawn. S

Re: [Lazarus] Dropping files on TCustomEdit

2017-10-07 Thread Denis Kozlov via Lazarus
Just tested with Ubuntu 16.04 + GTK2 widgetset and got a slightly different issue. Both TMemo and TEdit accept the dropped file and form's OnDropFiles event gets called. However, the control that was under the cursor at the time of the drop gets a file path of the dropped file inserted at the

Re: [Lazarus] Dropping files on TCustomEdit

2017-10-07 Thread Juha Manninen via Lazarus
On Sat, Oct 7, 2017 at 3:29 PM, Denis Kozlov via Lazarus wrote: > Perhaps a Linux or GTK2 only issue. Probably a widgetset issue. Torsten, please test with LCL-QT, too. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazar

Re: [Lazarus] Dropping files on TCustomEdit

2017-10-07 Thread Denis Kozlov via Lazarus
It works fine in Lazarus 1.9.0 r55993 FPC 3.0.2 i386-win32-win32/win64. Perhaps a Linux or GTK2 only issue. Denis On 06/10/2017 09:47, Torsten Bonde Christiansen via Lazarus wrote: Hi List. In my application i have started testing dropping files onto the main form. Most of the components i

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

2017-10-07 Thread Lubos Pintes via Lazarus
Hello, One of your suggested changes indeed showed a system caret, but there is probably another change, because the NVDA is unable to show me lines after I scrool with a down arrow to try to read the contents. But that may be a NVDA problem. For now I will use external editor for editing and s

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

2017-10-07 Thread Lubos Pintes via Lazarus
Thank you very much for information, I will try it. Dňa 6. 10. 2017 o 22:43 Martin Frb via Lazarus napísal(a): Latest SynEdit uses a custom drawn caret. This was introduced to enable multiple carets. That is: having several carets at the same time, to type and edit several locations simultane

Re: [Lazarus] Accessibility enhacement request Lazarus version 1.7

2017-10-07 Thread Mgr. Janusz Chmiel via Lazarus
Because It is possible to use UIautomation in Lazarus. I have found out some unit if I Am correct. Uiautomation is supported by Microsoft. But this approach have one little disadvantage. Such kind of IDE would not be usable on Windows XP. But using Syslistwiev32, richedit, combo and similar cla

Re: [Lazarus] Accessibility enhacement request Lazarus version 1.7

2017-10-07 Thread Lubos Pintes via Lazarus
Hello, I am very interested in adding an UI Automation support to the Win32 WidgetSet. I am currently studying what UI Automation is, etc. and now I am about to study the WidgetSet itself. The most difficult thing is to start, but I believe this can be done. Dňa 7. 10. 2017 o 8:55 Mgr. Janusz C