<div dir="ltr"><div><div><div>Though leftMargin is nil and indentation are apparently set to zero, the TextMorph is always displayed with a small spacing from the left border and right border.<br></div><div>This was quite long to find, but I now know:<br>
</div><div><br>PluggableTextMorph&gt;&gt;resizeScroller<br>    &quot;Also needs to resize the text morph&quot;<br><br>    super resizeScroller.<br>    textMorph ifNotNil:<br>        [textMorph extent: (self innerBounds width-6)@self height].<br>
<br>Unfortunately, this space is not available for displaying the cursor, because it does not belong to the TextMorph...<br><br>The cursor is always displayed to the right of CharacterBlock.<br>So when at the left of the line it is inside TextMorph bounds and visible because away from the borders thanks to above 3 pixels guard.<br>
At the right of the line, it is generally visible, unless your last character unluckily fits exactly to the right bound.<br>But if you rightFlush/justify, the characters are then perfectly aligned, and the cursor to the right of a line becomes invisible.<br>
<br></div><div>It would not be unreasonnable to add some small indents to the style rather than letting the 0, but I feel like the 6 pixels could be given back to the TextMorph with a settable property, so that the Cursor could be displayed....<br>
<br></div><div>What do you think?<br>
</div></div></div></div>