Skip to content

Commit

Permalink
core: add accessor for global text focus
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Oct 4, 2023
1 parent 89dae6b commit 707fc4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/Sandblocks-Core/SBEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,12 @@ SBEditor >> summarizeActionsDuring: aBlock [
history summarizeActionsDuring: aBlock
]

{ #category : #'as yet unclassified' }
SBEditor >> textFocus [

^ self selection activeTextMorph
]

{ #category : #actions }
SBEditor >> toggleFullscreen [
<globalAction>
Expand Down

0 comments on commit 707fc4d

Please sign in to comment.