[Swift-commit] r6833 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Aug 12 19:29:00 CDT 2013


Author: hategan
Date: 2013-08-12 19:29:00 -0500 (Mon, 12 Aug 2013)
New Revision: 6833

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/TextArea.java
Log:
replace tabs with 4 spaces before rendering on a text area

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/TextArea.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/TextArea.java	2013-08-12 23:48:18 UTC (rev 6832)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/TextArea.java	2013-08-13 00:29:00 UTC (rev 6833)
@@ -58,6 +58,7 @@
 		if (text == null) {
 			return;
 		}
+		text = text.replace("\t", "    ");
 		int crt = 0;
 		int w = width - 1;
 		while (crt < text.length()) {




More information about the Swift-commit mailing list