mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 12:19:18 +02:00
IDE: indent on paste: check highlighter
git-svn-id: trunk@26396 -
This commit is contained in:
parent
105b15f19d
commit
399876ec14
@ -4224,6 +4224,8 @@ begin
|
||||
if AMode<>smNormal then exit;
|
||||
if SyncroLockCount > 0 then exit;
|
||||
if not CodeToolsOpts.IndentOnPaste then exit;
|
||||
if not (SyntaxHighlighterType in [lshFreePascal, lshDelphi]) then
|
||||
exit;
|
||||
{$IFDEF VerboseIndenter}
|
||||
debugln(['TSourceEditor.EditorPaste LogCaret=',dbgs(ALogStartPos)]);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user