You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,9 @@ public API to externally implement these features is however included.
71
71
- Has marker API to specify lines and/or line numbers to highlight and optional show tooltips (see [example](docs/markers.md)).
72
72
- Has optional scrollbar minimap to render cursor, selection and marker locations.
73
73
- Provides middle-mouse pan and scroll functions like CAD programs and browsers.
74
-
- Has API to attach user data to select or all lines (see [example](docs/userData.md)).
74
+
- Has API to attach user data to select lines or all lines (see [example](docs/userData.md)).
75
75
- Has API to decorate each line (useful for debuggers and IDEs) (see [example](docs/lineDecorator.md)).
76
-
- Provides optional and customizable right click context menus for line numbers or text lines (see [example](docs/contextMenus.md))
76
+
- Provides optional and customizable right click (control + click on MacOS) context menus for line numbers or text lines (see [example](docs/contextMenus.md))
77
77
- Provides auto completion for paired glyphs (\[, \{, \(, \", \') (can be turned on and off).
78
78
- If auto complete is turned on, accidentally typed closing glyphs are ignored.
79
79
- If auto complete is turned on, selections can be surrounded by paired glyphs.
@@ -125,7 +125,6 @@ For a complete example, please see the [example folder](example/).
125
125
- Ctrl: this refers to the Command key on MacOS and the Control key on Linux and Windows.
126
126
- Alt: this refers to the Option key on MacOS and the Alt key on Linux and Windows.
127
127
- Shift: as you would expect on all platforms.
128
-
- Super: this refers to the Control key on MacOS (Dear ImGui reverses Command and Control key on that platform).
129
128
- If a keyboard has a left and right version of these modifiers, the meaning is not different.
130
129
131
130
- Cursor Movements:
@@ -141,7 +140,7 @@ For a complete example, please see the [example folder](example/).
141
140
- Panning and Scrolling:
142
141
- The text scrolls automatically when you move the cursor through keyboard actions.
143
142
- Mouse actions that extend the selections also apply auto scrolling.
144
-
- The text in the editor can still be scrolled using those bars that were invented in the 1970's.
143
+
- The text in the editor can still be scrolled using those little bars that were invented in the 1970's.
145
144
- Devices with scroll wheels or those that simulated vertical and horizontal scroll wheels (like a touch pad, a mouse with a builtin touch pad or a pen) can also scroll the text. This is actually implemented in Dear ImGui (and used by the editor) and must be supported by your backend.
146
145
- The middle mouse button on a three-button mouse (or whatever is reported by your OS as a middle mouse button event) enters pan or scroll mode mode depending on the configuration. Pan mode is the default and you can switch this to Scroll mode by calling SetMiddleMouseScrollMode(). Calling SetMiddleMousePanMode() switches it back. The example application uses a menu option to toggle modes.
147
146
- In pan mode, the text is grabbed and dragged as the cursor moves and as long as the middle mouse button is down.
0 commit comments