Menu

#146 Console: Wrap lines in commando LONG_ENTRY

closed-fixed
None
5
2012-08-30
2012-08-29
No

As it stands now, the LONG_ENTRY commando element is not useful because there is no simple way to insert new lines, so there are multiple lines that can't be used. Allowing lines to wrap in the text area would make it very useful such that a full long entry without new lines can be visible without scrolling. The fix is simply to add

entry.setLineWrap(true);
entry.setWrapStyleWord(true);

under where entry is created in console/bsh/commandoLONG_ENTRY.bsh (this applies to the trunk version). If needed, I can check out the source to create the patch file, but hopefully the edit is simple enough that this description is sufficient. Thanks.

Discussion

  • Alan Ezust

    Alan Ezust - 2012-08-30
    • labels: 826388 -->
    • assigned_to: nobody --> ezust
    • summary: Wrap lines in commando LONG_ENTRY --> Console: Wrap lines in commando LONG_ENTRY
    • status: open --> closed-fixed
     
  • Alan Ezust

    Alan Ezust - 2012-08-30

    interesting that LONG_ENTRY is not used in any of the example commando files.
    Committed 22095

     

Log in to post a comment.