File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1373,6 +1373,7 @@ class CMUSHclientDoc : public CDocument
1373
1373
1374
1374
list<CPaneStyle> m_OutstandingLines;
1375
1375
bool m_bNotesNotWantedNow;
1376
+ bool m_bDoingSimulate;
1376
1377
1377
1378
BOOL m_bScrollBarWanted; // true if we want to see scroll bars
1378
1379
Original file line number Diff line number Diff line change @@ -206,7 +206,8 @@ int i;
206
206
207
207
m_bVariablesChanged = false ;
208
208
m_bNotesNotWantedNow = false ;
209
-
209
+ m_bDoingSimulate = false ;
210
+
210
211
m_view_number = 0 ;
211
212
m_LastFlushTime = CTime::GetCurrentTime ();
212
213
Original file line number Diff line number Diff line change @@ -579,6 +579,7 @@ VARIANT CMUSHclientDoc::GetInfo(long InfoType)
579
579
case 120 : SetUpVariantBool (vaResult, m_bScrollBarWanted); break ;
580
580
case 121 : SetUpVariantBool (vaResult, App.m_iCounterFrequency != 0 ); break ;
581
581
case 122 : SetUpVariantBool (vaResult, sqlite3_threadsafe () != 0 ); break ;
582
+ case 123 : SetUpVariantBool (vaResult, m_bDoingSimulate); break ;
582
583
583
584
case 201 : SetUpVariantLong (vaResult, m_total_lines); break ;
584
585
case 202 : SetUpVariantLong (vaResult, m_new_lines); break ;
Original file line number Diff line number Diff line change @@ -427,7 +427,9 @@ SetModifiedFlag (ChangedFlag);
427
427
428
428
void CMUSHclientDoc::Simulate (LPCTSTR Text)
429
429
{
430
- DisplayMsg (Text, strlen (Text), 0 );
430
+ m_bDoingSimulate = true ;
431
+ DisplayMsg (Text, strlen (Text), 0 );
432
+ m_bDoingSimulate = false ;
431
433
} // end of CMUSHclientDoc::Simulate
432
434
433
435
You can’t perform that action at this time.
0 commit comments