|
来自于:http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes
LCL Interfaces Changes- TCMMouseWheel.WheelData is renamed to WheelDelta to better describe its purpose and for Delphi compatibility.
- Qt: Implemented scrollable forms (TCustomForm.AutoScroll / TCustomForm.HorzScrollbar,TCustomForm.VertScrollBar).
LCL Changes- TMemo.WantReturns is implemented
- TListView.OwnerDraw and OnDrawItem is implemented
- TCustomListView.SelectAll, TCustomListView.ClearSelection and TCustomListView.AddItem are implemented for Delphi compatibility.
IDE Changes- Editor
- Macro Recorder/Player
- Multiple macros. Ability to select/change macro from list.
- Individual key-shortcuts for each Macro
- Macros can be saved per project or with the global IDE config
- Package EditorMacroScripting: Allow use of PascalScript in macros.
- Sticky selection mode
- Select text word-wise
- Highlight different (user specified) words in different colors See here
- Auto-continue for comments and strings
- Inactive code in $IFDEF can be "low-lighted" (greyed out)
- Markup/Highlight colors can be merged (alpha channel) and prioritised.
- Added Popup menu / Source / Find references of used unit: Position cursor on a uses clause will find all references of this used unit within the active unit.
- Debugger
- Watches window: added detail view, for selected watch
- Debug Inspector: Ability to directly input expression to monitor
- Attach and Detach
- Support for remote debug with gdbserver
- When option "open last project" is enabled (default) and the IDE was closed with no project, no project will open at start. When a virtual (not saved) project was open a new Application project is created.
- The Package Graph now uses the new TLvlGraphControl, showing all package dependencies including project and IDE.
- Package Editor: new menu item to find and remove unneeded dependencies
- IDEIntf
- Added boolean parameter BringToFront (defaults to false) to TLazIDEInterface.DoShowSearchResultsView. It specifies whether Search Results dialog should be shown on top or under Source Editor. Behavior of existing code calling this method is not affected.
- Added TPropertyEditor.GetVerbCount, GetVerb, PrepareItem, ExecuteVerb to let TPropertyEditors add menu items to the Object Inspector.
- Compiler options
- Build modes
- Build modes are not visible by default. They can be enabled with a checkbox.
- The GUI is visually above the options GUI pages, thus indicating it has effect on them.
- There is a separate window for managing the modes. Two useful modes, "Debug" and "Release", can be created with a single click.
- GUI for all available options
- Options are read and parsed directly from FPC.
- The "Other" page has a button which opens the generated GUI. The options are synchronized and saved with the custom options memo.
- Options in other pages have been rearranged
- "IDE Macro Values" was replaced with a more powerful page "Additions and Overrides". Things that you can do now, which were not possible before:
- Append FPC options to packages without touching the lpk
- Changing the output directory of packages without touching the lpk
- Define IDE macros only for some packages or only for the project
- Append compiler options for all projects with build mode "debug"
- Change the package(s) output directory of all projects and packages with build mode "release"
- Append compiler options of third party projects and packages without altering their sources
- The page Inherited was moved to the Show options dialog.
- The window Unit Dependencies was rewritten:
- It shows what units a unit uses
- It shows what units uses that unit
- Search and filter
- Showing packages and projects as graphs
- Designer
- New designer popup menu item Reset for setting control bounds to their ancestor bounds
- Add Frame onto a form: The dialog to select the frame ancestor now scans all sources.
- The default test directory of the IDE under Linux was changed from /tmp to ~/tmp to avoid clashes with other users
- Delphi converter is more robust and does not abort any more for parsing or other errors. The conversions are still primitive but they are done better.
|
|