Click here to Skip to main content
15,512,747 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: macro function definition Pin
Richard MacCutchan18-Aug-22 4:38
mveRichard MacCutchan18-Aug-22 4:38 
GeneralRe: macro function definition Pin
coco24318-Aug-22 4:50
coco24318-Aug-22 4:50 
GeneralRe: macro function definition Pin
Richard MacCutchan18-Aug-22 5:04
mveRichard MacCutchan18-Aug-22 5:04 
GeneralRe: macro function definition Pin
coco24318-Aug-22 5:28
coco24318-Aug-22 5:28 
GeneralRe: macro function definition Pin
Richard MacCutchan18-Aug-22 5:40
mveRichard MacCutchan18-Aug-22 5:40 
QuestionReplace CString Format() Pin
2022 Dude16-Aug-22 8:40
2022 Dude16-Aug-22 8:40 
AnswerRe: Replace CString Format() Pin
Mircea Neacsu16-Aug-22 9:41
mvaMircea Neacsu16-Aug-22 9:41 
QuestionRemove white space - empty lines - in editor Pin
Member 1496877115-Aug-22 8:16
Member 1496877115-Aug-22 8:16 
WARNING Way off, in the left field, the coding subject - relax , I am NOT posting any coding questions...
The attached code , which I could not post to show "visualize white space " setting contains
plenty of white space.
The editor has an option to "remove white space" , but only in actual line of code .
which "auto indent" happily recreate...

The "remove white space" DOES NOT remove empty lines...

I am asking - is this normal in any decent editor NOT to have an option to remove "white space" in between lines of code? Or does such option exists and I have no idea what it would be called.


{
qDebug()<< "Current raw text " << resultClean;
str= SubRegularExpressionExt("((\\w+)$)", resultClean,2 ); //TOK line
qDebug()<< "Current extracted text ((\\w+)$)" << str;

str= SubRegularExpressionExt("(\\w+)*", resultClean,2 ); //TOK line
qDebug()<< "Current extracted text (\\w+)*" << str;



str= SubRegularExpressionExt("(\\w+)", resultClean,2 ); //TOK line
qDebug()<< "Current extracted text (\\w+)" << str;


//"((\\w+)\\s*)*",


str= SubRegularExpressionExt("((\\w+)\\s*)*", resultClean,2 ); //TOK line
qDebug()<< "Current extracted text ((\\w+)\\s*)*" << str;






}
AnswerRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak15-Aug-22 8:23
mveDave Kreskowiak15-Aug-22 8:23 
GeneralRe: Remove white space - empty lines - in editor Pin
Member 1496877115-Aug-22 10:12
Member 1496877115-Aug-22 10:12 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak15-Aug-22 10:26
mveDave Kreskowiak15-Aug-22 10:26 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan15-Aug-22 22:30
mveRichard MacCutchan15-Aug-22 22:30 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak16-Aug-22 4:47
mveDave Kreskowiak16-Aug-22 4:47 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan16-Aug-22 4:54
mveRichard MacCutchan16-Aug-22 4:54 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak16-Aug-22 5:21
mveDave Kreskowiak16-Aug-22 5:21 
GeneralRe: Remove white space - empty lines - in editor Pin
PIEBALDconsult17-Aug-22 9:26
professionalPIEBALDconsult17-Aug-22 9:26 
AnswerRe: Remove white space - empty lines - in editor Pin
trønderen15-Aug-22 12:53
trønderen15-Aug-22 12:53 
GeneralRe: Remove white space - empty lines - in editor Pin
DerekT-P17-Aug-22 0:19
professionalDerekT-P17-Aug-22 0:19 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan17-Aug-22 1:18
mveRichard MacCutchan17-Aug-22 1:18 
Questionhow to resolve and understand how / why it works or not Pin
Member 1496877112-Aug-22 13:28
Member 1496877112-Aug-22 13:28 
AnswerRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan12-Aug-22 23:12
mveRichard MacCutchan12-Aug-22 23:12 
GeneralRe: how to resolve and understand how / why it works or not Pin
Member 1496877113-Aug-22 5:09
Member 1496877113-Aug-22 5:09 
GeneralRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan13-Aug-22 5:28
mveRichard MacCutchan13-Aug-22 5:28 
GeneralRe: how to resolve and understand how / why it works or not Pin
Member 1496877113-Aug-22 7:12
Member 1496877113-Aug-22 7:12 
GeneralRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan13-Aug-22 7:25
mveRichard MacCutchan13-Aug-22 7:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.