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