mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:29:20 +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
|
exit
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
While (StartPos>0) and (S[StartPos-1] in WordChars) do
|
While (StartPos>1) and (S[StartPos-1] in WordChars) do
|
||||||
Dec(StartPos);
|
Dec(StartPos);
|
||||||
While (EndPos<Length(S)) and (S[EndPos+1] in WordChars) do
|
While (EndPos<Length(S)) and (S[EndPos+1] in WordChars) do
|
||||||
Inc(EndPos);
|
Inc(EndPos);
|
||||||
|
Loading…
Reference in New Issue
Block a user