mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 06:55:59 +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
|
||||
begin
|
||||
ApplyCodeToolChanges;
|
||||
DoJumpToCodePos(ActiveSrcEdit, ActiveUnitInfo,
|
||||
NewSource, NewX, NewY, NewTopLine, true);
|
||||
if NewSource<>nil then
|
||||
DoJumpToCodePos(ActiveSrcEdit, ActiveUnitInfo,
|
||||
NewSource, NewX, NewY, NewTopLine, true);
|
||||
end else begin
|
||||
// error: probably a syntax error or just not in a procedure head/body
|
||||
// or not in a class
|
||||
|
Loading…
Reference in New Issue
Block a user