mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
Ctrl-k-t select first word in line correctly if line length 49 or greater
This commit is contained in:
parent
368a77d75e
commit
4b4f910289
@ -5537,7 +5537,7 @@ begin
|
||||
exit
|
||||
else
|
||||
begin
|
||||
While (StartPos>0) and (S[StartPos-1] in WordChars) do
|
||||
While (StartPos>1) and (S[StartPos-1] in WordChars) do
|
||||
Dec(StartPos);
|
||||
While (EndPos<Length(S)) and (S[EndPos+1] in WordChars) do
|
||||
Inc(EndPos);
|
||||
|
Loading…
Reference in New Issue
Block a user