Hi,

there are no documented(poor) , I have found inside the source code for these values wordwarp

.WORDWRAP = "WORD"     -- WORD, CHAR, NONE.
.WORDWRAPVISUALFLAGS = "END"        -- MARGIN, START, END, NONE-

have tested your code and it works.

//Ola


Den 2016-03-12 kl. 13:26, skrev 云履:
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

------------------------------------------------------------------------------
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

Reply via email to