class Cohn
- Cohn
- Reference
- Object
Overview
[ ] self-sufficient cursor
[ ] handle ins/del 1 000 000s of selections and cursors bearably 500 000 cursors do APPLY in: approx 500ms same for selections, really
Included Modules
Defined in:
aspis.crConstructors
Instance Method Summary
- #acquire
- #clear_selections_from(start : Int)
-
#i_touch_selections_or_doc(&)
use everywhere you touch @selections or @document !!!
- #mainloop
- #on_click(event : SF::Event::MouseButtonPressed)
- #on_drag(event : SF::Event::MouseMoved)
- #on_input(event : SF::Event::TextEntered, chr : Char)
- #on_key_pressed(event : SF::Event::KeyPressed)
- #on_scroll(event : SF::Event::MouseWheelScrolled)
- #on_with_ctrl_pressed(event : SF::Event::KeyPressed)
-
#recompute_visible_selections
just recompute visible, release/acquire rects
- #release
- #selection(cidx : Cursor | Int = 0, aidx : Cursor | Int = cidx, focus = true)
- #theme=(theme : Theme)
-
#uniq_selections
merge overlaps & recompute visible