how the wx.py.shell.shell' highlight be disabled?

hello

how can I disable the highlight function of wx.py.shell.shell?
and how can I not to display below text when it is displayed?

···

-----------------------------------------------------------------------------------------
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
-----------------------------------------------------------------------------------------

Wonjun, Choi

After creation try:
    nameofyourshellwindow.clear()

Gadget/Steve

···

On 24/02/2012 8:28 AM, Wonjun, Choi wrote:

hello

how can I disable the highlight function of wx.py.shell.shell?
and how can I not to display below text when it is displayed?
-----------------------------------------------------------------------------------------
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
-----------------------------------------------------------------------------------------

Wonjun, Choi

hello

how can I disable the highlight function of wx.py.shell.shell?

What do you mean by highlight function?

and how can I not to display below text when it is displayed?
-----------------------------------------------------------------------------------------
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
-----------------------------------------------------------------------------------------

Derive a new class from wx.py.shell.Shell and override its showIntro method to behave the way you want it to.

Or it looks like you can pass showInterpIntro=False to the wx.py.shell.Shell constructor and it will pass it on to the Interpreter instance.

Reading the source of code you are using can often reveal very useful things, or at least help you to be able to use it better.

···

On 2/24/12 12:28 AM, Wonjun, Choi wrote:

--
Robin Dunn
Software Craftsman

what will be the way for disabling highlight?

highlight means syntax coloring

Have you tried this?

  theSTC.SetLexer(wx.stc.STC_LEX_NULL)
  theSTC.ClearDocumentStyle()

···

On 2/26/12 4:23 PM, 최원준 wrote:

highlight means syntax coloring

--
Robin Dunn
Software Craftsman

I think this is not a STC control. this is just wx.py.shell.shell.
I couldn’t find any method like SetLexer in wx.py.shell.shell document.

I am sorrry. it works well. thank you.

Wonjun Choi