[lazarus] Updates
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jan 21 10:16:30 EST 2002
Hi all,
Many codetool updates. The big new feature is:
Find Declaration now searches in used units and hidden used units like the system unit.
I have only tested it under Linux. For bsd and windows, I need some testers.
Of course, find declaration is still incomplete. Still missing:
'inherited' keyword, expression operators, operator overloading,
proc overloading, interfaces, property access 'read' and 'write',
reading IDE compiler options, protected visibility, caching, ...
Also there are two bugs, that are independent of find declaration, but makes it feel clumsy:
- Focus is not always set to source editor
- source editor sometimes scrolls to the right
Changes:
!!! - renamed key 'Find block end' to 'Find block other end'
New:
- new function: 'Find block start' (see editor options -> Key Mapping)
Jump to start of block. A block is here for example 'begin'..'end',
'repeat'..'until', brackets, 'try'..'finally', 'procedure'..,
'implementation'.., 'unit'.., 'class'.., 'published'..
- parser now gives hints, which proc or block is not closed.
- parser now checks begin..end blocks for keywords, so that errors
are found earlier
- linux system unit can now be parsed without errors
- find declaration of source name identifier
- find declaration of default class ancestor 'TObject'
- find declaration of used units
- find declaration of hidden units: system, objpas, heaptrc, lineinfo
Fixes:
- fixed guess-unclosed-blocks 'end of source ot found' error
- parser now recognizes string constants at end of line
- parser recognizes keywords: external, public, internproc, iternconst
- Find block functions can now distinguish between case statement
and variant record.
- 'file' keyword is now allowed as type
- parser now understands begin..end at end of implementation section
- operator result identifier is now parsed correctly
- parser now understands constant proc types
- reading backwards now recognizes 'of object', 'class of', 'class;',
'class function', 'class procedure'
- reading backwards now recognizes string constants at end of line
- reading backwards now recognizes delphi comment at end of line
Mattias
More information about the Lazarus
mailing list