Re: Suggested changes to Delphi editor
- From: "Ondrej Popelka" <"jana dt vasseru at gmail">
- Date: Wed, 31 Oct 2007 20:56:22 +0100
On Wed, 31 Oct 2007 19:27:05 +0100, Steve Thackery <thack@xxxxxxxxxxx> wrote:
2/ Cursor not constrained by line ends
In most editors, to add text to the end of an existing line, you just click anywhere beyond the last character and start typing. In Delphi, do that and it immediately pads the lines with spaces up to the point where you placed the cursor. This is completely non-standard behaviour. It requires you to position the pointer exactly - just to the right of the final character on the line, which takes extra time.
I appreciate that this behaviour may be desired by some users, so:
I propose an option in the editor very similar to the one called 'Cursor beyond EOF'. Just call it 'Cursor beyond EOL' and enable it by default. That way fusspots like me can disable it. Note that it should also constrain the cursor when using the up and down arrow keys to navigate, just like every other application (and TRichEdit) does.
Same goes for tabs. When pressing left, right arrows the cursor jumps the tabs as expected. When pressing up,down arrows or by clicking with mouse it is possible to write text 'inside' a tab padding it with spaces.
I find this behaviour quite annoying since it pretty much spoiles the advantage of using tab, since my code becomes a mixture of tabs and spaces.
.
- Follow-Ups:
- Re: Suggested changes to Delphi editor
- From: Roger Lascelles
- Re: Suggested changes to Delphi editor
- References:
- Suggested changes to Delphi editor
- From: Steve Thackery
- Suggested changes to Delphi editor
- Prev by Date: Re: Suggested changes to Delphi editor
- Next by Date: Re: RAD Studio 2007 A Pleasure
- Previous by thread: Re: Suggested changes to Delphi editor
- Next by thread: Re: Suggested changes to Delphi editor
- Index(es):
Relevant Pages
|