mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-03 03:10:22 +09:00
Fix build error
This commit is contained in:
@@ -100,10 +100,10 @@ func (c *Cursor) SelectLine() {
|
||||
|
||||
// AddLineToSelection adds the current line to the selection
|
||||
func (c *Cursor) AddLineToSelection() {
|
||||
if c.loc < c.selectionStart {
|
||||
if c.Loc() < c.selectionStart {
|
||||
c.Start()
|
||||
c.selectionStart = c.Loc()
|
||||
} else if c.loc > c.selectionEnd {
|
||||
} else if c.Loc() > c.selectionEnd {
|
||||
c.End()
|
||||
c.selectionEnd = c.Loc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user