mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-13 11:00:58 +00:00
Don't brace highlight with selection
This commit is contained in:
parent
fc2566a0de
commit
805d6ccaf7
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue