Sign in Join
Wiki copytemporary

IDE Window: Editor Options Mouse

Deutsch · English

This is part of the online help for the IDE.
It describes the section: "Editor" / "Mouse". You can open the described dialog in your IDE via:
*The menu: "Tools" => "Options" / Editor options ...

Navigation\

     


General

Hide mouse when typing

If the mouse is positioned over the editor, it will be hidden while you type. Any mouse-move, click, or menu action will make it visible again.

Gutter

You can currently choose between two predefined modes for the gutter area

Standard

All left-clicks on the gutter act when you press the mouse button down.

Extended

All left-clicks on the gutter act when you release the mouse button. This mode allows the mouse to select text while being over the gutter.

Extended, right only (only in Lazarus 1.5)

The Gutter-parts close to the text (line-numbers, change-indicator, and fold) act as describe in extended. The others act as described in standard.

Use line numbers to select lines (only in Lazarus 1.5)

Independent of the above setting. the gutter part showing the line numbers will always select the current line (mouse down), and additional full lines on mouse move.

This selects in line-mode and can not be used to select part of a line by moving the mouse over the text area. To be able to start a normal selection (select any part of the line), use the "extended" setting above.

Text-area

Right mouse includes caret move

Right mouse always triggers the context Menu. Setting the caret to the click location is optional.

Drag Selection

You can use the left mouse button to drag an existing selection to a new location in the text. Hold ctrl while dragging to make a copy.

Options no longer present (moved) in Lazarus 1.0

Alt-Key set column mode

Use the entry Select text (Columns) from the drop down (for alt-button)

If you use the left mouse button, then the dropdown for shift-alt-button will offer Continue Select text (Columns) (Bound to Alt)

Double click selects line

Use the drop downs in the "Left2" page

Actions for each mouse button

The dialog provides a setup page for each mouse button.

Left, Left2
The main button of a mouse.

Right
The 2nd button of a mouse. (also known as context menu button)

Middle
Usually triggered by pressing (instead of turning) the wheel

Extra1, Extra2
Only for 5 button mouses

Wheel
Actions for turning the wheel

Each page provides a list of actions for the indicated mouse button, with or without modifier keys.

The modifier Keys must be an exact match. If "Ctrl-Button" is configured, then other combinations like ctrl-alt-button or ctrl-shift-button will not trigger this configuration.

Nothing/Default
No action, or action without modifier key

Select text
Selects text. An existing selection will be lost.

Select text (Columns)
Selects text in column mode. An existing selection will be lost.

Select text (Lines)
Selects text, full lines only. An existing selection will be lost.

Select current Word
Selects one word.

Select current Line (Text)
Selects one line, without leading/trailing spaces.

Select current Line (Full)
Selects one line, with leading/trailing spaces

Select current Paragraph
Selects one paragraph. Bound by empty lines.

Paste
Inserts the current selection. If there is no selection, then it depends on the OS, may insert (secondary) clipboard, or do nothing.

Jumps to implementation
Navigates pascal source via codetools. (Find implementation of identifier)

Jumps to implementation/other block end
Navigates pascal source... Also jumps between matching begin/end pairs

Add history point
Add your own History point (normally done by implementation jumps.

History back
Navigate to previous source location.

History forward
If you navigated back in history, go forward again.

Set free bookmark
Sets an available bookmark

Reset zoom
See mouse wheel, sets editor font size to default

Context Menu
normal editor context menu.

Context Menu (debug)
debug section from editor context menu.

Context Menu (tab)
Context menu for editor tabs (trigger anywhere in the editor area)

The following are only available for the shift-left-button with or without alt or ctrl. If the left button (with or without alt or ctrl) is set to "select text" (or "select text (Columns/Line)") then one extra entry is listed as first entry in the dropdown. The entry allows to continue (extend) an existing selection. The entry will be one of the following:

Continue Select text

Continue Select text (Columns/Line)

Continue Select text (...) (Bound to Alt,Ctrl Button)
Continue/Extend an existing selection, using the same selection mode as the button without shift

Actions for mouse wheel

The wheel can be set to scroll, at different speeds, or change the editor font size (zoom)

Normal scroll is vertical,but automatically changes to horizontal, if the editor has no horizontal scroll bar (to few line). Horizontal can be enforced.

More about: Jumps to implementation/other block end

by default, if you click on any identifier such as a function, variable or type name the IDE will jump to the declaration of this identifier (even into another unit).

This is the same feature that is available as key-shortcut (usually Alt+Up). See "Key Mapping" / "Codetools" / "Find declaration"

"other block end" means that if you are not over an identifier, but instead over a "begin", "end" or matching brackets or similar then the jump will go to the matching word/bracket. On the Keyboard this is Ctrl+Q+K. See also: "Key Mapping" / "Codetools" / "Find block other end")

Advanced Options

For advanced options please see here: Advanced Mouse Options

Once you have made changes in the advanced settings, this page will show a warning that it does not represent your settings any more.

In this case it also will no longer just follow the changes you make. Instead it will display a button which you must use to override the settings you made in the advanced page. A warning will be shown, if you have unsaved changes.


From the Free Pascal wiki, page "IDE Window: Editor Options Mouse", as it stood on 2021-01-30 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 6 people, 2009–2021

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
MartinNew page: Configure Mouse-Settngs for the IDE's SynEdit Set the actions that happens when you use the mouse. * You can set actions for Single to Quad click for each of the MouseButtons (left/right/...
Martin
MartinCurrent Limitations
Martin
MartinEditor Options Mouse moved to IDE Window: Environment Options Mouse: For ide help key (minor)
MartinIDE Window: Environment Options Mouse moved to IDE Window: Editor Options Mouse (minor)
Martin
Martin
Martin
Swentypo (minor)
MartinThe Click Type
MartinThe Context Tree
Martin
MartinThe Action/Command
MartinThe Action/Command
Martin
MartinNo Action Command
Martinanchor for F1 help
MartinThe Action / Behaviour
MartinThe Action / Behaviour<div id="ActionHelp"></div>
Martin
MartinThe Modifier Keys
MartinThe Click Type
MartinThe Click Direction
MartinSelection Commands
MartinContext Popup Menu
MartinFold Popup Menu
MartinFold Commands
MartinNo Action Command
MartinBlock Selection Commands
MartinFold Commands
Martin<div id="ModKeys"></div> The Modifier Keys
MartinSource Link Command
MartinBreakpoint Command
Martin<div id="ModKeys"></div> The Modifier Keys
MartinUseful Examples
MartinCurrent Limitations
MartinThe Context Tree
MartinFold Commands
Martin
MartinThe Context Tree
MartinThe Context Tree
MartinThe Context Tree
MartinThe Context Tree
Martin<div id="ActionHelp"></div>The Action / Behaviour
Martin<div id="ActionHelp"></div>The Action / Behaviour
MartinBlock Selection Commands
MartinDrag Selection Command
MartinThe Context Tree
Martin<div id="ModKeys"></div> The Modifier Keys
Martin<div id="ActionHelp"></div>The Action / Behaviour
MartinIDE-Command
MartinThe Click Configuration
MartinThe Context Tree
MartinThe Context Tree
Martin<div id="ActionHelp"></div>The Action / Behaviour
Martin<div id="Priority"></div> The Priority
MartinUseful Examples
MartinExtend "Source Links" to jump Begin/End-pairs
Martin<div id="Priority"></div> The Priority
MartinNo Action Command
MartinNo Action Command
MartinBlock Selection Commands
MartinItem Selection Commands
MartinDrag Selection Command
MartinQuick copy Selection Command
MartinContext Popup Menu
MartinUnfold Commands
MartinFold Commands
MartinFold Popup Menu
MartinBreakpoint Command
MartinIDE-Command
MartinSource Link Command
Martin<div id="Priority"></div> The Priority
MartinExtend "Source Links" to jump Begin/End-pairs
MartinCurrent Limitations
MartinThe Button
MartinHistory Jumps (follow back the "source Link" trail
MartinWith a 5 Button Mouse
MartinWith a 3 Button Mouse
MartinHistory Jumps (follow back the "Source Link" trail)
Martin<div id="ActionHelp"></div>The Action / Behaviour
Martin
MartinCurrent Limitations
Martin
Martin<div id="ClickDir"></div> The Click Direction
MartinLine Numbers in Gutter to select Lines
MartinCurrent Limitations
MartinPitfalls
MartinPitfalls
MartinDouble to Quad Clicks
MartinPitfalls
MartinCurrent Limitations
Martin<div id="Priority"></div> The Priority
MartinThe "Other Actions using the same button" Table
MartinThe "Other Actions using the same button" Table
MartinMouse "Move" versus "Click" on Gutter to select Lines / toggle action
MartinUseful Examples
Martin
MartinGutter
MartinExtended
MartinText-area
MartinGutter
MartinCtrl-Left Button
MartinMiddle button
MartinHow it works
MartinAdvanced Options
MartinStandard
MartinGutter
ThierryboAlt-Key set column mode for Gnome (minor)
Martin
BillyraybonesCtrl-Left Button: key-shortcut added (minor)
Billyraybonestypo (minor)
MartinText-area
MartinOptions no longer present (moved) in Lazarus 1.0
MartinActions for each mouse button
MartinActions for each mouse button
Martin
Jwdietrichcategorized
MartinGutter
MartinGutter
FTurtle
FTurtleExcuded redirect

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.