[Lazarus] editor details

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Apr 20 11:00:21 CEST 2010


Martin schrieb:

>> IMO cursor-past-eol and horizontal scrolling deserves some 
>> considerations. Maintaining the horizontal cursor position during 
>> vertical moves could be simplified.
> 
> Simplified, as in:
> 
> 1- the implementation within synedit

Right. When I first/last inspected the code, many years ago, the entire 
implementation was overcomplicated and error prone, and some options 
were conflicting. At that time I implemented my own editor component, 
and found that everything could be done much simpler. But as long as the 
SynEdit works, there exists no urgent need for a redesign.

> 2- the user experience during usage

Sometimes it could be a bit less sensitive to errors in related 
components. But except for the current multi-window redesign, the editor 
and IDE was usable since 0.9.26, and has become very stable since 0.9.28 :-)

I'm also missing an option to turn off any automatism. Auto-indentation 
with copy&paste doesn't match my coding style and expectations, in many 
situations; the same for the automatic "end" insertion.

BTW, code completion *also* should work with e.g. "do" and other 
keywords, for DoDock or Dock...

> 3- the way it is configured (through the editor options)

The configuration is fine :-)

DoDi





More information about the Lazarus mailing list