File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ class LuaConsole final
4343 void init (HINSTANCE hInst, NppData& nppData) {
4444 mp_consoleDlg->initDialog (hInst, nppData, this );
4545 *m_nppData = nppData;
46-
47- const char *msg = LUA_COPYRIGHT " \r\n\r\n " ;
48- mp_consoleDlg->writeText (strlen (msg), msg);
4946 }
5047
5148 void showDialog () { mp_consoleDlg->doDialog (); }
Original file line number Diff line number Diff line change @@ -133,6 +133,8 @@ void LuaConsole::setupInput(GUI::ScintillaWindow &sci) {
133133 sci.Call (SCI_INDICSETUNDER, INDIC_BRACEHIGHLIGHT, true );
134134 sci.Call (SCI_BRACEHIGHLIGHTINDICATOR, true , INDIC_BRACEHIGHLIGHT);
135135
136+ sci.Call (SCI_SETINDENTATIONGUIDES, SC_IV_LOOKBOTH);
137+
136138 m_sciInput = &sci;
137139}
138140
Original file line number Diff line number Diff line change @@ -201,10 +201,13 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notifyCode) {
201201 styler.Flush ();
202202 break ;
203203 }
204- case NPPN_READY:
204+ case NPPN_READY: {
205+ const char *msg = LUA_COPYRIGHT " \r\n\r\n " ;
206+ g_console->mp_consoleDlg ->writeText (strlen (msg), msg);
205207 isReady = true ;
206208 LuaExtension::Instance ().OnReady ();
207209 break ;
210+ }
208211 case NPPN_LANGCHANGED:
209212 LuaExtension::Instance ().OnLangChange ();
210213 break ;
You can’t perform that action at this time.
0 commit comments