mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 11:39:25 +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 AMode<>smNormal then exit;
|
||||||
if SyncroLockCount > 0 then exit;
|
if SyncroLockCount > 0 then exit;
|
||||||
if not CodeToolsOpts.IndentOnPaste then exit;
|
if not CodeToolsOpts.IndentOnPaste then exit;
|
||||||
|
if not (SyntaxHighlighterType in [lshFreePascal, lshDelphi]) then
|
||||||
|
exit;
|
||||||
{$IFDEF VerboseIndenter}
|
{$IFDEF VerboseIndenter}
|
||||||
debugln(['TSourceEditor.EditorPaste LogCaret=',dbgs(ALogStartPos)]);
|
debugln(['TSourceEditor.EditorPaste LogCaret=',dbgs(ALogStartPos)]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
Loading…
Reference in New Issue
Block a user