mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 22:50:21 +09:00
Deselect with mouse
This commit also makes non editing actions (save, quit...) only execute once even if there are multiple cursors.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -621,6 +621,10 @@ func (v *View) HandleEvent(event tcell.Event) {
|
||||
}
|
||||
}
|
||||
|
||||
func (v *View) mainCursor() bool {
|
||||
return v.Buf.curCursor == len(v.Buf.cursors)-1
|
||||
}
|
||||
|
||||
// GutterMessage creates a message in this view's gutter
|
||||
func (v *View) GutterMessage(section string, lineN int, msg string, kind int) {
|
||||
lineN--
|
||||
|
||||
Reference in New Issue
Block a user