With this demo.
iup = require ("iuplua")
require"iuplua_scintilla"
iup.dialog{
iup.scintilla{
wordwrap = 'yes',
size = '200*100',
visiblecolumns = 20,
scrollwidth = 300,
value = 'long text. long text. long text. long text. long text. long
text. ',},
}:show()
iup.MainLoop()
There is a horizontal scroll bar, and will auto expand document's width (not
control's width) when click or append text at end of line.I searched from
'Scintilla', 'SciTE' document, and test these below, but don't work as expect.
sci.property = "position.width=100"
sci.property = "wrap=1"
sci.property = "wrap=1"
sci.property = "horizontal.scrollbar=0"
sci.property = "horizontal.scroll.width=10"
sci.property = "horizontal.scroll.width.tracking=0"
Is it a bug, or other ways can fix content's width, and auto wrap?------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users