earlier-caret/mark ( editor -- loc )


Vocabulary
ui.backend.cocoa.views.private

Inputs
editoran object


Outputs
locan object


Definition


:: earlier-caret/mark ( editor -- loc )
editor editor-caret :> caret editor editor-mark :> mark
caret first mark first =
[ caret second mark second < [ caret ] [ mark ] if ]
[ caret first mark first < [ caret ] [ mark ] if ] if ;