Add bracket matcher that highlights pair

(), {}, and [] pairs are now highlighted when
after or before the cursor
This commit is contained in:
Kevin Sawicki
2013-02-04 15:23:14 -08:00
parent f2da6924aa
commit 0270ba3e1c
9 changed files with 175 additions and 2 deletions

View File

@@ -277,6 +277,7 @@ class Editor extends View
destroyFoldsContainingBufferRow: (bufferRow) -> @activeEditSession.destroyFoldsContainingBufferRow(bufferRow)
isFoldedAtScreenRow: (screenRow) -> @activeEditSession.isFoldedAtScreenRow(screenRow)
isFoldedAtBufferRow: (bufferRow) -> @activeEditSession.isFoldedAtBufferRow(bufferRow)
isFoldedAtCursorRow: -> @activeEditSession.isFoldedAtCursorRow()
lineForScreenRow: (screenRow) -> @activeEditSession.lineForScreenRow(screenRow)
linesForScreenRows: (start, end) -> @activeEditSession.linesForScreenRows(start, end)