how to get rid of VC++ tabs?
-
I found it is strange, while in VC studio editor the code looks very nice with propper spacing, but when you view it in simple text editor the lines are out of order and do not match the same style in the VC. It the TABs that VC paste here and there, but you can not get rid of them thru find and replace, since you press button TAB in the find edit box it skips to net control.
9ine
-
I found it is strange, while in VC studio editor the code looks very nice with propper spacing, but when you view it in simple text editor the lines are out of order and do not match the same style in the VC. It the TABs that VC paste here and there, but you can not get rid of them thru find and replace, since you press button TAB in the find edit box it skips to net control.
9ine
9ine wrote:
...when you view it in simple text editor the lines are out of order and do not match the same style in the VC.
Which is why you should use spaces, not tabs.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
-
9ine wrote:
...when you view it in simple text editor the lines are out of order and do not match the same style in the VC.
Which is why you should use spaces, not tabs.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
??? I dont use TABS, always spaces, but VC like tabs, e.g. when you start to compose switch() block and typing like case 2: and after you press ':' button VC accelerate this line ahead so it is ____case 2: and you have to delete VC job but there is always some hidden TABS which you can not see and your code looks normal in VC but horible in text editor
9ine
-
??? I dont use TABS, always spaces, but VC like tabs, e.g. when you start to compose switch() block and typing like case 2: and after you press ':' button VC accelerate this line ahead so it is ____case 2: and you have to delete VC job but there is always some hidden TABS which you can not see and your code looks normal in VC but horible in text editor
9ine
immediately after it autoformats your text, do Ctrl+Z...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
??? I dont use TABS, always spaces, but VC like tabs, e.g. when you start to compose switch() block and typing like case 2: and after you press ':' button VC accelerate this line ahead so it is ____case 2: and you have to delete VC job but there is always some hidden TABS which you can not see and your code looks normal in VC but horible in text editor
9ine
9ine wrote:
but VC like tabs,
So just change it to use spaces instead.
9ine wrote:
...there is always some hidden TABS which you can not see...
Use Ctrl+Shift+8 to see them.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
-
I found it is strange, while in VC studio editor the code looks very nice with propper spacing, but when you view it in simple text editor the lines are out of order and do not match the same style in the VC. It the TABs that VC paste here and there, but you can not get rid of them thru find and replace, since you press button TAB in the find edit box it skips to net control.
9ine
If you're using VC++ 6.0, select your text and then you can use the Edit menu, Advanced, Untabify to replace the tabs with spaces. Hope that helps.
Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
-
If you're using VC++ 6.0, select your text and then you can use the Edit menu, Advanced, Untabify to replace the tabs with spaces. Hope that helps.
Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
-
immediately after it autoformats your text, do Ctrl+Z...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
weird, it does for me, for any auto-reformat... (with VC2003, like you)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]