|
|
|
|
@ -50,6 +50,9 @@ namespace Source {
|
|
|
|
|
|
|
|
|
|
bool keep_clipboard = false; |
|
|
|
|
|
|
|
|
|
/// Apple key for MacOS, and control key otherwise
|
|
|
|
|
static GdkModifierType primary_modifier_mask; |
|
|
|
|
|
|
|
|
|
bool on_key_press_event(GdkEventKey *event) override; |
|
|
|
|
bool on_motion_notify_event(GdkEventMotion *motion_event) override; |
|
|
|
|
|
|
|
|
|
@ -146,9 +149,6 @@ namespace Source {
|
|
|
|
|
std::string tab; |
|
|
|
|
std::pair<char, unsigned> find_tab_char_and_size(); |
|
|
|
|
|
|
|
|
|
/// Apple key for MacOS, and control key otherwise
|
|
|
|
|
GdkModifierType primary_modifier_mask; |
|
|
|
|
|
|
|
|
|
/// Move iter to line start. Depending on iter position, before or after indentation.
|
|
|
|
|
/// Works with wrapped lines.
|
|
|
|
|
Gtk::TextIter get_smart_home_iter(const Gtk::TextIter &iter); |
|
|
|
|
|