[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Wed Oct 2 23:55:04 UTC 2013


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006473.html

Name: Morphic-nice.694
Ancestors: Morphic-nice.693

multiComposeLinesFrom:to:delta:into:priorLines:atY: is no more used, farewell...

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006474.html

Name: Graphics-nice.243
Ancestors: Graphics-nice.242

Fix a composition glitch when the last character of a text is a space that crosses the right margin boundary.
In such case, a virtual empty line must be added to the composition in order to correctly materialize text selection and cursor position, and so as to continue typing on next line.

The case when last character is a carriage return is in all point similar.
Indeed, a space that crossedX is visually turned into a new line.
TextComposer previously tried to reverse engineer scanner's work to recognize the CR case, which is a smell.
This change unifies handling for the two cases by rather asking to the scanner doesTheLineBreaksAfterLastChar?
Remove fixupLastLineIfCR which is tainted with half case only.
Remove the workaround in CharacterBlockScanner that did not work around anything.

Fix the breaking at non space for eastern asia:
1) registerBreakableIndex records that the line can wrap before the current character, and spaceIndex was pointing at this character that will potentially wrap on next line.
2) It is still possible to apply Justified alignment based on space adjustment if some spaces are used in the text, so correctly set the line spaceCount and paddingWidth.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006475.html

Name: ST80-nice.152
Ancestors: ST80-nice.151

Restore the CharacterBlockScanner hack required for MVC in a specialized CharacterBlockScannerForMVC class.
Methods used exclusively by Paragraph are moved there too.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006476.html

Name: Graphics-nice.244
Ancestors: Graphics-nice.243

Move some CharacterBlockScanner methods used exclusively by MVC in ST80-Support.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006477.html

Name: ST80-nice.153
Ancestors: ST80-nice.152

Move more MVC specific protocol of CharacterScanner from Graphics to ST80.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006478.html

Name: Graphics-nice.245
Ancestors: Graphics-nice.244

Move more MVC specific protocol of CharacterScanner from Graphics to ST80.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2013-October/006479.html

Name: Graphics-nice.246
Ancestors: Graphics-nice.245

Fix a small glitch in rightFlush aligment: when you add so many spaces that a single word fits on the line, then it happens that one space sticks before the right margin preventing correct alignment of this word.

=============================================


More information about the Squeak-dev mailing list