Scintilla: are "modern" indicators not supported ?

hello,

I'm trying to use the Scintilla editor with a Python Lexer to perform a number of different tasks,
yes, all at once:
- normal editor for python code
- stderr
- stdout
- presentation of general info

the idea is to let the lexer do it's normal work (Python code),
and then use the indicators (in combination with single and double quoted triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,
but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,
so I wanted to use the new calls like "SCI_SETINDICATORVALUE()",
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don't exist. (I'm using wxPython 2.8.7.1 unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki

Upgrade your wxPython to 2.8.8.0 or later.

- Josiah

···

On Sun, Aug 10, 2008 at 3:08 PM, Stef Mientki <s.mientki@ru.nl> wrote:

hello,

I'm trying to use the Scintilla editor with a Python Lexer to perform a
number of different tasks,
yes, all at once:
- normal editor for python code
- stderr
- stdout
- presentation of general info

the idea is to let the lexer do it's normal work (Python code),
and then use the indicators (in combination with single and double quoted
triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,
but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,
so I wanted to use the new calls like "SCI_SETINDICATORVALUE()",
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don't exist. (I'm using wxPython 2.8.7.1
unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Josiah Carlson wrote:

Upgrade your wxPython to 2.8.8.0 or later.
  

Thanks Josiah,

but can you tell me what it should solve:
- the acceptance of indicator 0 and 1 or
- the new indicator styles ?

I just updated to 2.8.8.1 unicode (P2.5),
but neither the acceptance of indicator 0 and 1 are solved,
nor are the new indicator styles available.

cheers,
Stef

···

- Josiah

On Sun, Aug 10, 2008 at 3:08 PM, Stef Mientki <s.mientki@ru.nl> wrote:
  

hello,

I'm trying to use the Scintilla editor with a Python Lexer to perform a
number of different tasks,
yes, all at once:
- normal editor for python code
- stderr
- stdout
- presentation of general info

the idea is to let the lexer do it's normal work (Python code),
and then use the indicators (in combination with single and double quoted
triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,
but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,
so I wanted to use the new calls like "SCI_SETINDICATORVALUE()",
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don't exist. (I'm using wxPython 2.8.7.1
unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Huh, I could have sworn that it was in there, but a quick check of the
source shows that I was wrong.

Looking at the source for wxPython 2.9:
http://svn.wxwidgets.org/svn/wx/wxPython/trunk/src/stc.i

I notice the following two lines:
    %property(IndicatorCurrent, GetIndicatorCurrent, SetIndicatorCurrent);
    %property(IndicatorValue, GetIndicatorValue, SetIndicatorValue);

Which would imply that updated indicators are going to be in wxPython 2.9 .
- Josiah

···

On Mon, Aug 11, 2008 at 2:11 AM, Stef Mientki <s.mientki@ru.nl> wrote:

Josiah Carlson wrote:

Upgrade your wxPython to 2.8.8.0 or later.

Thanks Josiah,

but can you tell me what it should solve:
- the acceptance of indicator 0 and 1 or
- the new indicator styles ?

I just updated to 2.8.8.1 unicode (P2.5),
but neither the acceptance of indicator 0 and 1 are solved,
nor are the new indicator styles available.

cheers,
Stef

- Josiah

On Sun, Aug 10, 2008 at 3:08 PM, Stef Mientki <s.mientki@ru.nl> wrote:

hello,

I'm trying to use the Scintilla editor with a Python Lexer to perform a
number of different tasks,
yes, all at once:
- normal editor for python code
- stderr
- stdout
- presentation of general info

the idea is to let the lexer do it's normal work (Python code),
and then use the indicators (in combination with single and double quoted
triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,
but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,
so I wanted to use the new calls like "SCI_SETINDICATORVALUE()",
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don't exist. (I'm using wxPython
2.8.7.1
unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Hello,

For api reference:

I believe wxWidgets/wxPython 2.8 uses Scintilla 1.70

wxWidgets/wxPython 2.9 has been updated to Scintilla 1.75 (with Scintilla 1.76 being the most current release)

···

On 8/11/08, Josiah Carlson josiah.carlson@gmail.com wrote:

Huh, I could have sworn that it was in there, but a quick check of the
source shows that I was wrong.

Looking at the source for wxPython 2.9:
http://svn.wxwidgets.org/svn/wx/wxPython/trunk/src/stc.i

I notice the following two lines:
%property(IndicatorCurrent, GetIndicatorCurrent, SetIndicatorCurrent);

%property(IndicatorValue, GetIndicatorValue, SetIndicatorValue);

Which would imply that updated indicators are going to be in wxPython 2.9 .

  • Josiah

On Mon, Aug 11, 2008 at 2:11 AM, Stef Mientki s.mientki@ru.nl wrote:

Josiah Carlson wrote:

Upgrade your wxPython to 2.8.8.0 or later.

Thanks Josiah,

but can you tell me what it should solve:

  • the acceptance of indicator 0 and 1 or
  • the new indicator styles ?

I just updated to 2.8.8.1 unicode (P2.5),
but neither the acceptance of indicator 0 and 1 are solved,

nor are the new indicator styles available.

cheers,
Stef

  • Josiah

On Sun, Aug 10, 2008 at 3:08 PM, Stef Mientki s.mientki@ru.nl wrote:

hello,

I’m trying to use the Scintilla editor with a Python Lexer to perform a
number of different tasks,
yes, all at once:

  • normal editor for python code
  • stderr
  • stdout
  • presentation of general info

the idea is to let the lexer do it’s normal work (Python code),

and then use the indicators (in combination with single and double quoted
triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,

but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,

so I wanted to use the new calls like “SCI_SETINDICATORVALUE()”,
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don’t exist. (I’m using wxPython

2.8.7.1
unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Josiah Carlson wrote:

Huh, I could have sworn that it was in there, but a quick check of the
source shows that I was wrong.

Looking at the source for wxPython 2.9:
http://svn.wxwidgets.org/svn/wx/wxPython/trunk/src/stc.i

I notice the following two lines:
    %property(IndicatorCurrent, GetIndicatorCurrent, SetIndicatorCurrent);
    %property(IndicatorValue, GetIndicatorValue, SetIndicatorValue);

Which would imply that updated indicators are going to be in wxPython 2.9 .
  

thanks for the information,
but I'll try to work around for the time being,
as 2.8.8.1 crashes terrible on my computer,
and I can't figure out why :frowning:
And so I'm afraid 2.9 will also crash.

cheers,
Stef

···

- Josiah

On Mon, Aug 11, 2008 at 2:11 AM, Stef Mientki <s.mientki@ru.nl> wrote:
  

Josiah Carlson wrote:
    

Upgrade your wxPython to 2.8.8.0 or later.

Thanks Josiah,

but can you tell me what it should solve:
- the acceptance of indicator 0 and 1 or
- the new indicator styles ?

I just updated to 2.8.8.1 unicode (P2.5),
but neither the acceptance of indicator 0 and 1 are solved,
nor are the new indicator styles available.

cheers,
Stef
    

- Josiah

On Sun, Aug 10, 2008 at 3:08 PM, Stef Mientki <s.mientki@ru.nl> wrote:

hello,

I'm trying to use the Scintilla editor with a Python Lexer to perform a
number of different tasks,
yes, all at once:
- normal editor for python code
- stderr
- stdout
- presentation of general info

the idea is to let the lexer do it's normal work (Python code),
and then use the indicators (in combination with single and double quoted
triple-strings)
to display the other information.

I could do with the normal old (before 2007) indicators,
but apparently the Python Lexer masks the indicator 0 and 1,
and only indicator 2 is shown.

The new style indicators prevent these conflicts between user and Lexer,
so I wanted to use the new calls like "SCI_SETINDICATORVALUE()",
which I assume would look something like SetIndicatorValue in wxPython,
but unfortunately these functions don't exist. (I'm using wxPython
2.8.7.1
unicode )

any clues, suggestions, links ?

thanks,
Stef Mientki

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users