Skip to content

Commit 219709a

Browse files
authored
Merge pull request #1341 from WolframResearch/bugfix/468246
Bugfix: Fixed an internal error for selected unformatted cells
2 parents 0b3b4e0 + fc10057 commit 219709a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Chatbook/ChatModes/Context.wl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ fullSelection[ text_String ] := TextData @ { $leftSelectionIndicator, text, $rig
723723
fullSelection[ BoxData[ { a___ }, b___ ] ] := BoxData[ { $leftSelectionIndicator, a, $rightSelectionIndicator }, b ];
724724
fullSelection[ BoxData[ a_, b___ ] ] := BoxData[ RowBox @ { $leftSelectionIndicator, a, $rightSelectionIndicator }, b ];
725725
fullSelection[ TextData[ text_ ] ] := TextData @ Flatten @ { $leftSelectionIndicator, text, $rightSelectionIndicator };
726+
fullSelection[ RawData[ s_String ] ] := RawData @ StringJoin[ $leftSelectionIndicator, s, $rightSelectionIndicator ];
726727
fullSelection // endDefinition;
727728

728729
(* ::**************************************************************************************************************:: *)

0 commit comments

Comments
 (0)