Comment edit

This commit is contained in:
Jonathan Daugherty 2022-07-09 09:23:36 -07:00
parent 034ce2dfbf
commit 1c044013b2

View File

@ -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