commit 9394baacbfcc8f70f53cf35f784b92d641d6213b
parent 264f81e263ed922d269bc9f19fc6ffc30b7a265e
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sat, 30 Dec 2006 15:15:00 +0000
normalize whitespace
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@122 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/text-mode.rb b/lib/sup/modes/text-mode.rb
@@ -4,7 +4,7 @@ class TextMode < ScrollMode
attr_reader :text
def initialize text=""
- @text = text
+ @text = text.normalize_whitespace
update_lines
buffer.mark_dirty if buffer
super()