mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 12:19:26 +02:00
IDE: code completion: do not jump if nothing changed
git-svn-id: trunk@24514 -
This commit is contained in:
parent
e93c448c50
commit
58bb9f1591
@ -14480,8 +14480,9 @@ begin
|
|||||||
NewSource,NewX,NewY,NewTopLine) then
|
NewSource,NewX,NewY,NewTopLine) then
|
||||||
begin
|
begin
|
||||||
ApplyCodeToolChanges;
|
ApplyCodeToolChanges;
|
||||||
DoJumpToCodePos(ActiveSrcEdit, ActiveUnitInfo,
|
if NewSource<>nil then
|
||||||
NewSource, NewX, NewY, NewTopLine, true);
|
DoJumpToCodePos(ActiveSrcEdit, ActiveUnitInfo,
|
||||||
|
NewSource, NewX, NewY, NewTopLine, true);
|
||||||
end else begin
|
end else begin
|
||||||
// error: probably a syntax error or just not in a procedure head/body
|
// error: probably a syntax error or just not in a procedure head/body
|
||||||
// or not in a class
|
// or not in a class
|
||||||
|
Loading…
Reference in New Issue
Block a user