mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-11 15:12:47 +09:00
Don't brace highlight with selection
This commit is contained in:
@@ -149,7 +149,7 @@ func (c *CellView) Draw(buf *Buffer, top, height, left, width int) {
|
||||
|
||||
if viewCol >= 0 {
|
||||
st := curStyle
|
||||
if colN == matchingBrace.X && lineN == matchingBrace.Y {
|
||||
if colN == matchingBrace.X && lineN == matchingBrace.Y && !buf.Cursor.HasSelection() {
|
||||
st = curStyle.Reverse(true)
|
||||
}
|
||||
c.lines[viewLine][viewCol] = &Char{Loc{viewCol, viewLine}, Loc{colN, lineN}, char, char, st, 1}
|
||||
|
||||
Reference in New Issue
Block a user