euporie.core.widgets.minimap
Define a minimap display widget.
Functions
|
Get the current active (running) Application. |
|
Render a minimap into a single string. |
|
Wrap a single paragraph of text, returning a list of wrapped lines. |
Classes
|
Add padding around a container. |
|
Control for visualizing the content of a |
|
A clickable button widget which holds text. |
|
A tuple of four bools with directions. |
|
Simple event to which event handlers can be attached. For instance::. |
|
Fast, lightweight cache which keeps at most size items. |
|
Apply a style to child containers when focused or hovered. |
|
Several layouts, one stacked above/under the other. |
|
Widget that displays the given text. |
|
A container which renders a stand-alone margin. |
|
A minimap widget displaying minimaps of all buffers in the current tab. |
|
A control to render minimaps for all buffers in the current tab. |
|
|
|
|
|
|
|
Margin displaying a scrollbar. |
|
Very simple cache that discards the oldest item when the cache size is exceeded. |
|
Content generated by a user control. |
Base class for all user interface controls. |
|
|
Several layouts, one stacked left/right of the other. |
|
Container that holds a control. |
|
Alignment of the Window content. |
- class euporie.core.widgets.minimap.MiniMap(hscale: float = 0.25, vscale: float = 0.5)
Bases:
objectA minimap widget displaying minimaps of all buffers in the current tab.
- MAX_SCALE = 2.0
- MIN_SCALE = 0.125
- SCALE_STEP = 0.125
- class euporie.core.widgets.minimap.MiniMapControl(hscale: float = 0.5, vscale: float = 0.25)
Bases:
UIControlA control to render minimaps for all buffers in the current tab.
- get_key_bindings() KeyBindingsBase | None
Key bindings that are specific for this user control.
- mouse_handler(mouse_event: MouseEvent) NotImplementedOrNone
Handle mouse events to navigate to the corresponding line.