User Tools

Site Tools


enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29

This is an old revision of the document!


Enabling word-wrap in a texteditor (LBB)

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:

  texteditor #w.te, 10, 10, 280, 280
  stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0
  open "Wordwrap test" for window as #w
  #w.te "!font Arial 0 28"
  #w.te "The quick brown fox jumps over the lazy dog's tail."
  wait
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29.1523980996.txt.gz · Last modified: 2024/01/05 00:18 (external edit)