mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 00:19:31 +02:00
codetools: do not beautify identifiers in comment, bug #16209
git-svn-id: trunk@24664 -
This commit is contained in:
parent
2d1eaa0ddf
commit
5dafb4b21e
@ -1062,7 +1062,8 @@ begin
|
||||
//DebugLn('[TBeautifyCodeOptions.AddAtom] NewAtom=',NewAtom,' s="',s,'"');
|
||||
|
||||
// beautify identifier
|
||||
if IsIdentStartChar[NewAtom[1]] then begin
|
||||
if IsIdentStartChar[NewAtom[1]]
|
||||
and (CommentLvl = 0) then begin
|
||||
if AllKeyWords.DoItCaseInsensitive(NewAtom) then
|
||||
NewAtom:=BeautifyWord(NewAtom,KeyWordPolicy)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user