Skip to content

Commit

Permalink
[cleanup] attempt to improve class comment for RemoteString
Browse files Browse the repository at this point in the history
  • Loading branch information
hogoww committed Jan 31, 2020
1 parent 0598bd3 commit 732a090
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/System-Sources/RemoteString.class.st
@@ -1,18 +1,19 @@
"
My instances provide an external file reference to a piece of text. It may be the sourceCode of a method, or the class comments of a class.
The changes file or file-in file usually has a chunk that is just the source string of a method:
The 'changes' file or 'file-in' file usually has a chunk that is just the source string of a method:
max: aNumber
^ self > aNumber ifTrue: [self] ifFalse: [aNumber]!
I can return either a String or a Text. Some a chunk is followed by a second chunk (beginning with ]style[) containing style information. The encoding is like this:
I can return either a String or a Text. A chunck of code is followed by a second chunk (beginning with ]style[) containing style information. The encoding is like this:
max: aNumber
^ self > aNumber ifTrue: [self] ifFalse: [aNumber]!
]style[(14 50 312)f1,f1b,f1LInteger +;i!
Allowed TextAttributes are TextFontChange, TextEmphasis, TextColor, TextDoIt, TextKern, TextLink, TextURL. TextFontReference and TextAnchor are not supported.
Allowed TextAttributes are TextFontChange, TextEmphasis, TextColor, TextDoIt, TextKern, TextLink, TextURL.
TextFontReference and TextAnchor are not supported.
See PositionableStream nextChunkText and RunArray class scanFrom:.
"
Expand Down

0 comments on commit 732a090

Please sign in to comment.