How is it, that Qeditor uses 4 Spaces (0x20),
instead of 1 Tab (0x09)
Or in another way,
why doesn't Qeditor use 0x09h for Tab,
instead of Spaces :confused:
instead of 1 Tab (0x09)
Or in another way,
why doesn't Qeditor use 0x09h for Tab,
instead of Spaces :confused:
Probably Hutch process the WM_KEYDOWN and when tab is entered, the result in the editbox is 4 spaces. Tab's spacing varies from some editors to others, that's all that i could say. Thus spaces are better.
Quite opposite IMHO
spaces are stupid they take more bytes in the text file
and can not be easy recognized as "tabs"...
actually tabs are not the same as spaces... i just can not understand why somebody will ever want to mix them
hard tabs are the only natural inteligent solution ... please excuse... any normal editor has an option to set the tabs size so i can resize/rearange them on the fly...can not do the same thing for spaces even if i setup my tab size to 1 or 2 spaces editor can recognize them as such and will never consider 8 space tab as 4x2space tabs !
The only reason i see for "convert tabs to spaces " stupid proliferation is the usage of the "rich edit controll" in many projects, it looks like this control helps or forces ppl doing this stupid thing.
spaces are stupid they take more bytes in the text file
and can not be easy recognized as "tabs"...
actually tabs are not the same as spaces... i just can not understand why somebody will ever want to mix them
hard tabs are the only natural inteligent solution ... please excuse... any normal editor has an option to set the tabs size so i can resize/rearange them on the fly...can not do the same thing for spaces even if i setup my tab size to 1 or 2 spaces editor can recognize them as such and will never consider 8 space tab as 4x2space tabs !
The only reason i see for "convert tabs to spaces " stupid proliferation is the usage of the "rich edit controll" in many projects, it looks like this control helps or forces ppl doing this stupid thing.
But I like to use TAB, as 0x09
instead of 0x20, 0x20, 0x20, 0x20
ONE byte, instead of FOUR.
I sure miss that in Qeditor.
But maybe there is some adjustment
in the program, which I have missed :confused:
As it is now, I combine using NotePad to write
the program, and Qeditor to assemble it :(
Btw.
Hi BogdanOntanu I see you've changed your Avatar,
seems you've got yourself a new haircut.. :tongue:
instead of 0x20, 0x20, 0x20, 0x20
ONE byte, instead of FOUR.
I sure miss that in Qeditor.
But maybe there is some adjustment
in the program, which I have missed :confused:
As it is now, I combine using NotePad to write
the program, and Qeditor to assemble it :(
Btw.
Hi BogdanOntanu I see you've changed your Avatar,
seems you've got yourself a new haircut.. :tongue:
Bogdan, I have to agree with roticv on this.. because I'm of the kind "What You See Is What You Get", and I can't really stand Tabs.
Spaces occupy more memory? Well, I'll buy a bigger hard disk. ;)
I actually coded the characteristic into QE to avoid the endless problems with TAB formatting. There are a number of different formats for TAB and if your editor is not set for the assumptions in the text, you get a very messy looking display for it.
The other factor is that almost exclusively no-one uses TAB in a consistent manner and usually mix tabs and spaces freely. QE is used in places where TAB characters are very unreliable such as web pages where in contrast, spaced text always displays correctly.
Regards,
hutch@movsd.com
The other factor is that almost exclusively no-one uses TAB in a consistent manner and usually mix tabs and spaces freely. QE is used in places where TAB characters are very unreliable such as web pages where in contrast, spaced text always displays correctly.
Regards,
hutch@movsd.com
hmm...
I guess I have to get used to use those spaces:)
I have the habit of mixing them, to get the code
leftaligned so maybe 2 or 3 TABs, and then a few
spaces.
I must be consistent, then I guess there won't
be any problems making the code look nice ;)
I guess I have to get used to use those spaces:)
I have the habit of mixing them, to get the code
leftaligned so maybe 2 or 3 TABs, and then a few
spaces.
I must be consistent, then I guess there won't
be any problems making the code look nice ;)
I always use tabs :/
relying on spaces is bad when dealing with languages where whitespace matters such as python. (and lots of others)
also pressing tab once is much more convenient than pressing space 3 to 4 times
relying on spaces is bad when dealing with languages where whitespace matters such as python. (and lots of others)
also pressing tab once is much more convenient than pressing space 3 to 4 times
GO TABS!
Hi Hiroshimator !
I think we should ask Hutch, to make a button,
so that we can choose to use either TABs or SPACES :alright:
That would do the trick, of course I can choose to use
another editor, but I prefer Qeditor:)
I think we should ask Hutch, to make a button,
so that we can choose to use either TABs or SPACES :alright:
That would do the trick, of course I can choose to use
another editor, but I prefer Qeditor:)
strangely I usually resort to notepad :/
old habits don't die fast I guess
old habits don't die fast I guess
Yep, that's what I do too,
and then I use Qeditor to assemble the program:)
and then I use Qeditor to assemble the program:)
I usually make 1 batch file and have 1 main file that groups the others via includes
So you you're not a great fan of .rc files and such....
I too like 1 main file:alright:
I too like 1 main file:alright:
I am a fan of notepad :grin:
Nice and simple tool for programming :stupid:
Nice and simple tool for programming :stupid:
Shark,
I am back at home now so I tested something I left in QE so you could insert tabs if you needed.
Use Ctrl+tab on a normal US english keyboard to insert tabs. Press TAB for the spaced substitute for tab.
Regards,
hutch@movsd.com
I am back at home now so I tested something I left in QE so you could insert tabs if you needed.
Use Ctrl+tab on a normal US english keyboard to insert tabs. Press TAB for the spaced substitute for tab.
Regards,
hutch@movsd.com
Use Ctrl+tab on a normal US english keyboard to insert tabs. Press TAB for the spaced substitute for tab.
Why dont you add a option to select tabs or spaces?
CTRL+TAB is worse to type :/
BTW, vim is all I need for programming :)
Hi Hutch,
Yep, I see that CTRL+TAB makes 0x09
but one button instead of two would
be better, as Bazik suggested via a menu:)
Hi Bazik,
I would take a look at VIM ;)
Yep, I see that CTRL+TAB makes 0x09
but one button instead of two would
be better, as Bazik suggested via a menu:)
Hi Bazik,
I would take a look at VIM ;)
The Shark,
Make a poll, it will be very interesting for IDE writers.
I prefer TABS (properly used) but the problem is you have to stick to a particular editor. (there is a mess in the editors' world respect to the managing of 09h)
Best Regards,
Make a poll, it will be very interesting for IDE writers.
I prefer TABS (properly used) but the problem is you have to stick to a particular editor. (there is a mess in the editors' world respect to the managing of 09h)
Best Regards,
Hi pelaillo !
Yes, that's a good idea,
I have made one poll in the HEAP area thanks :alright:
Yes, that's a good idea,
I have made one poll in the HEAP area thanks :alright: