mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-29 10:54:48 +03:00
Comment edit
This commit is contained in:
parent
034ce2dfbf
commit
1c044013b2
@ -203,7 +203,7 @@ editFocusedAttr = editAttr <> "focused"
|
||||
getEditContents :: Monoid t => Editor t n -> [t]
|
||||
getEditContents e = Z.getText $ e^.editContentsL
|
||||
|
||||
-- | Get the cursor position of the editor (row, column)
|
||||
-- | Get the cursor position of the editor (row, column).
|
||||
getCursorPosition :: Editor t n -> (Int, Int)
|
||||
getCursorPosition e = Z.cursorPosition $ e^.editContentsL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user