mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 06:09:15 +02:00
SynEdit, pas hl: fixed message modifier context. Issue #0017577
git-svn-id: trunk@28221 -
This commit is contained in:
parent
70dee9c7bf
commit
3aa0ac6c03
@ -1353,8 +1353,8 @@ begin
|
||||
if KeyComp('Dynamic') then
|
||||
Result := tkKey
|
||||
else
|
||||
if KeyComp('Message') and (not(rsInProcHeader in fRange)) and
|
||||
(TopPascalCodeFoldBlockType in ProcModifierAllowed) and
|
||||
if KeyComp('Message') and (fRange * [rsAfterClassMembers, rsInProcHeader] = [rsAfterClassMembers]) and
|
||||
(TopPascalCodeFoldBlockType in [cfbtClass, cfbtClassSection]) and
|
||||
(PasCodeFoldRange.BracketNestLevel = 0)
|
||||
then
|
||||
Result := tkKey
|
||||
|
Loading…
Reference in New Issue
Block a user