Thanks,
Milind
On Wed, Jun 15, 2016 at 12:10 PM, Antonio Scuri <[email protected]>
wrote:
> Well, that I don't know. Most of the IupScintilla code is just a bypass
> of the Scintilla features. I recommend you to take a look at the Scintilla
> documentation.
>
> Best,
> Scuri
>
>
>
>
> On Wed, Jun 15, 2016 at 3:32 PM, Milind Gupta <[email protected]>
> wrote:
>
>> Thanks, got that. 2 more issues:
>>
>> 1. The documentation table showing the C++ styles and Lua styles. The ID
>> 13 in Lua it says Keyword set number 2 but it is changing the color of
>> keyword set number 1
>> 2. If I have table in the keywords set number 1 then if I write 'table'
>> in the editor it colors it right. If I write 'table:hello' it colors table
>> correctly. But if I write 'table.unpack' then it does not color table
>> properly. How can I make the '.' also respect the color scheme?
>>
>> Thanks,
>> Milind
>>
>> On Wed, Jun 15, 2016 at 11:16 AM, Antonio Scuri <[email protected]
>> > wrote:
>>
>>> Check que TABSIZE attribute.
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> On Wed, Jun 15, 2016 at 3:10 PM, Milind Gupta <[email protected]>
>>> wrote:
>>>
>>>> Thanks Antonio. It is working now. Another question is how can I set
>>>> the tab spacing on the editor?
>>>>
>>>> Thanks,
>>>> Milind
>>>>
>>>>
>>>> On Wed, Jun 15, 2016 at 10:55 AM, Antonio Scuri <
>>>> [email protected]> wrote:
>>>>
>>>>> Notice that when you set attributes in a constructor the order Lua
>>>>> sets the attributes is not defined. So the problem is at the line
>>>>>
>>>>> styleclearall = "Yes",
>>>>>
>>>>> Comment it and you will see that it works.
>>>>>
>>>>> Best,
>>>>> Scuri
>>>>>
>>>>>
>>>>> On Wed, Jun 15, 2016 at 2:27 PM, Milind Gupta <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I tried the small example below but the coloring of the text is
>>>>>> not working, only operators and working. Please can you help me figure
>>>>>> out
>>>>>> what am I missing. I am doing this on iup 3.18 and Lua 5.3.3
>>>>>>
>>>>>> require( "iuplua" )
>>>>>> require("iuplua_scintilla")
>>>>>>
>>>>>> sb = iup.scintilla{
>>>>>> lexerlanguage = "lua",
>>>>>> keywords0 = "and break do else elseif end false for function goto if
>>>>>> in local nil not or repeat return then true until while",
>>>>>> stylefont32 = "Consolas",
>>>>>> stylefontsize32 = "11",
>>>>>> styleclearall = "Yes",
>>>>>> stylefgcolor1 = "0 128 0", -- 1 Lua cooment
>>>>>> stylefgcolor2 = "0 128 0", -- 2 Lua comment line
>>>>>> stylefgcolor4 = "128 0 0", -- 4 Number
>>>>>> stylefgcolor5 = "0 0 255", -- 5 Keyword
>>>>>> stylefgcolor6 = "160 20 20", -- 6 String
>>>>>> stylefgcolor7 = "128 0 0", -- 7 Character
>>>>>> stylefgcolor9 = "0 0 255", -- 9 Preprocessor block
>>>>>> stylefgcolor10 = "255 0 255", -- 10 Operator
>>>>>> --stylefgcolor11 = "0 255 0", -- 11 Identifier
>>>>>> stylebold10 = "YES",
>>>>>> marginwidth0 = "50"
>>>>>> }
>>>>>> vbox = iup.vbox { iup.label {title="Label"}, sb, iup.button {
>>>>>> title="Test" } }
>>>>>> dlg = iup.dialog{vbox; title="Dialog"}
>>>>>> dlg:show()
>>>>>>
>>>>>> if (iup.MainLoopLevel()==0) then
>>>>>> iup.MainLoop()
>>>>>> end
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>>>> traffic
>>>>>> patterns at an interface-level. Reveals which users, apps, and
>>>>>> protocols are
>>>>>> consuming the most bandwidth. Provides multi-vendor support for
>>>>>> NetFlow,
>>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>>>> planning
>>>>>> reports.
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>>>>>> _______________________________________________
>>>>>> Iup-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>>> traffic
>>>>> patterns at an interface-level. Reveals which users, apps, and
>>>>> protocols are
>>>>> consuming the most bandwidth. Provides multi-vendor support for
>>>>> NetFlow,
>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>>> planning
>>>>> reports.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>>>>> _______________________________________________
>>>>> Iup-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>> traffic
>>>> patterns at an interface-level. Reveals which users, apps, and
>>>> protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>> planning
>>>> reports.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>>>> _______________________________________________
>>>> Iup-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>> traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols
>>> are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>> planning
>>> reports.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>>> _______________________________________________
>>> Iup-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning
>> reports.
>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.
> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users