mirror of https://gitlab.com/basile.b/dexed.git
exclude current line from text completions
This commit is contained in:
parent
2b674c238d
commit
8af9aeccdb
|
@ -2915,6 +2915,8 @@ begin
|
||||||
h := TStringHashSet.create();
|
h := TStringHashSet.create();
|
||||||
for i := 0 to lines.Count-1 do
|
for i := 0 to lines.Count-1 do
|
||||||
begin
|
begin
|
||||||
|
if i.equals(CaretY - 1) then
|
||||||
|
continue;
|
||||||
r := TStringRange.create(lines[i]);
|
r := TStringRange.create(lines[i]);
|
||||||
while not r.empty do
|
while not r.empty do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue