#DOCUMENTATION by cg
class: EditTextView
comment/format in:
#trimBlankLines
#trimBlankLines:
--- a/EditTextView.st Mon Apr 23 21:55:06 2018 +0200
+++ b/EditTextView.st Tue Apr 24 07:55:29 2018 +0200
@@ -1314,15 +1314,16 @@
!
trimBlankLines
- "If on, the blank lines are trimmed to zero size;
+ "If true, the blank lines are trimmed to zero size and trailing blank lines are removed;
+ if false, they are left as is;
if nil, the setting follows the current userPref setting."
^ trimBlankLines ? (UserPreferences current trimBlankLines)
!
trimBlankLines:aBooleanOrNil
- "If true, the blank lines are trimmed to zero size;
- if false, they are not trimmed;
+ "If true, the blank lines are trimmed to zero size and trailing blank lines are removed;
+ if false, they are left as is;
if nil, the setting follows the current userPref setting."
trimBlankLines := aBooleanOrNil.