This shows you the differences between two versions of the page.
enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29 [2018/03/31 13:19] 127.0.0.1 external edit |
enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29 [2018/04/17 16:03] (current) tbest3112 Added syntax highlighting |
||
---|---|---|---|
Line 2: | Line 2: | ||
//by Richard Russell, February 2016//\\ \\ The //Liberty BASIC// **texteditor** control does not support word-wrap at all, but in //LB Booster// word-wrapping may be enabled using **stylebits**:\\ | //by Richard Russell, February 2016//\\ \\ The //Liberty BASIC// **texteditor** control does not support word-wrap at all, but in //LB Booster// word-wrapping may be enabled using **stylebits**:\\ | ||
+ | <code lb> | ||
texteditor #w.te, 10, 10, 280, 280 | texteditor #w.te, 10, 10, 280, 280 | ||
stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0 | stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0 | ||
Line 8: | Line 9: | ||
#w.te "The quick brown fox jumps over the lazy dog's tail." | #w.te "The quick brown fox jumps over the lazy dog's tail." | ||
wait | wait | ||
+ | </code> |