IDE: Component list improvement (Ctrl+Alt+P)
- Lazarus/FPC Version: main
- Operating System: all
- CPU / Bitness: all
This patch inlcude:
NEW: Input filter ("auto-transliteration") - only latin letters are entered, regardless of the keyboard layout (other characters are entered without change). This has already been added to the "procedure list" dialog.
NEW: Multi-word search
NEW: Several shortcuts
FIX: The offset when adding a new component was always 8. Now the EnvironmentOptions.GridSizeX/Y
settings are read.
Shortcuts
Ctrl+Enter
- add a neighboring component (for example, to add multiple TPanels side by side rather than one inside the other)
Shift+Enter
- add a child component
Unlike the usual
Enter
, both combinations do not close the window, but leave focus on the selected component to make it possible to press the combination several times to add several components at once
Ctrl+Tab
- next tab
Ctrl+Shift+Tab
- previous tab
Ctrl+F
- set focus on filter (if the focus was lost after the component list was clicked)
Multi-word search
About search
[ ]
You can enter several words to search through a space. As a result, the components that match all the specified words will be displayed.
Examples:
color box
= TColorBox, TColorListBox
open dial
= TOpenDialog, TOpenPictureDialog
float spin
= TFloatSpinEdit, TFloatSpinEditEx
[,]
Multiple expressions can be specified separated by commas. As a result, components that match at least one of the expressions will be displayed. For example, you can make it so that only the specified components are displayed in the list.
Example:
tmemo, tlistbox
= TMemo, TListBox
[!]
You can use an exclamation mark to indicate that the given word should not appear in the name of the component.
Examples:
panel
= TButtonPanel, TPanel, TFlowPanel
panel !flow
= TButtonPanel, TPanel
["]
You can use quotation marks to indicate the search for the whole word. You can specify a quote only at the beginning or end to search only at the beginning or end of the text.
Examples:
tbutton
= TButton, TButtonPanel, TEditButton
"tbutton
= TButton, TButtonPanel
"tbutton"
= TButton
Patch
Patch for trunk: componentlist.patch