Tom Zaffran:

Here's the part of the code that concerns scintilla, please someone help
me...

        // Scintilla Component
        m_ScinTxt = new wxScintilla(this, SCITXT, wxDefaultPosition,
wxSize(700,460), wxTE_MULTILINE, _T(""));

        // Pascal LExer
        //m_ScinTxt->SetLexerLanguage(_T("pascal"));
        m_ScinTxt->SetLexer(wxSCI_LEX_PASCAL);
        m_ScinTxt->SetStyleBits(5);
        // key words definition  ?
        m_ScinTxt->SetKeyWords (0, _T("begin"));
        m_ScinTxt->SetText(_T("Scintilla\nbegin\nThomas end"));

        // Color call
        m_ScinTxt->Colourise (0,-1);

  You need to set what you want the styles to look like. As Robert
said, look at bait.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to