:Prev :Next, CatchAll
This commit is contained in:
@@ -282,18 +282,12 @@ void OnCommand(Event event) {
|
||||
}
|
||||
}
|
||||
|
||||
if (Ctrl() && Shift() && Mouse(RIGHT)) {
|
||||
|
||||
} else if (Alt() && Ctrl() && Mouse(RIGHT)) {
|
||||
} else if (Ctrl() && Mouse(RIGHT)) {
|
||||
|
||||
} else if (Alt() && Mouse(RIGHT)) {
|
||||
} else if (Mouse(RIGHT)) {
|
||||
if (Ctrl() && Mouse(RIGHT)) {
|
||||
Vec2I mouse = MouseVec2I();
|
||||
BSet active = GetBSet(ActiveWindowID);
|
||||
bool mouse_in_document = AreOverlapping(mouse, active.window->document_rect);
|
||||
if (mouse_in_document) {
|
||||
Int p = ScreenSpaceToBufferPos(active.window, active.view, active.buffer, mouse);
|
||||
Int p = ScreenSpaceToBufferPos(active.window, active.view, active.buffer, mouse);
|
||||
Int saved_front = -1;
|
||||
|
||||
IterRemove(active.view->carets) {
|
||||
@@ -315,6 +309,8 @@ void OnCommand(Event event) {
|
||||
SaveStringInClipboard(string);
|
||||
}
|
||||
}
|
||||
} else if (Mouse(RIGHT)) {
|
||||
MouseLoadWord(event);
|
||||
}
|
||||
|
||||
if (Ctrl() && Mouse(LEFT)) {
|
||||
|
||||
Reference in New Issue
Block a user