Skip to content

Commit 8f06582

Browse files
committed
Improvements to Debug 'summary'
1 parent 254255a commit 8f06582

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

world_debug.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,11 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command)
10341034
App.m_strLuaScript.GetLength (),
10351035
SHOW_TRUE (App.m_bEnablePackageLibrary)));
10361036

1037+
Note (TFormat ("Scripting prefix: '%s'. External editor in use: %s.",
1038+
m_strScriptPrefix, SHOW_TRUE (!m_bEditScriptWithNotepad)));
1039+
if (!m_bEditScriptWithNotepad)
1040+
Note (TFormat ("Editor path: %s", (LPCTSTR) m_strScriptEditor));
1041+
10371042
// time taken to execute scripts
10381043
if (App.m_iCounterFrequency > 0)
10391044
{
@@ -1276,6 +1281,10 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command)
12761281
} // end of loop through views
12771282

12781283
Note (TFormat ("Commands in command history: %ld", nTotal));
1284+
Note (TFormat ("Speed walking enabled: %s. Speed walking prefix: %s",
1285+
SHOW_TRUE (m_enable_speed_walk), (LPCTSTR) m_speed_walk_prefix));
1286+
Note (TFormat ("Command stacking enabled: %s. Command stack character: '%s'",
1287+
SHOW_TRUE (m_enable_command_stack), (LPCTSTR) m_strCommandStackCharacter));
12791288

12801289
// accelerators
12811290

@@ -1351,7 +1360,7 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command)
13511360
r.right, r.bottom, m_FontWidth, m_FontHeight));
13521361

13531362
if (m_FontWidth > 0 && m_FontHeight > 0)
1354-
Note (TFormat (" width %ld characters, wrap at column %ld, height %ld lines.",
1363+
Note (TFormat (" can show %ld characters, wrapping at column %ld, height %ld lines.",
13551364
r.right / m_FontWidth, m_nWrapColumn, r.bottom / m_FontHeight));
13561365

13571366

0 commit comments

Comments
 (0)