Jump to content

CodeLab v6.0 (for advanced users) Released June 25, 2020


Recommended Posts

13 minutes ago, toe_head2001 said:

Most people don't use tabs with any C style language.

 

A shame, really.

 

13 minutes ago, toe_head2001 said:

That's completely subjective. The same exact things can be said about tabs. I'm not even joking.

 

The standout issue with tabs is variable tab width among different environments.  For you a tab width might appears as 40px, but for other people it might be 80px.

This is very evident in web browsers. For some reason, a tab is about double the normal (if there is such a thing) width in a web browser.

A space is always the same width.

 

Yes, I know it's completely subjective. That's why I think it's silly to enforce this... (I'm not talking about you - I blame Microsoft!)

Personally, I think it's a great thing that tabs have variable width! To me, indents are logical separators, not visual ones. One indent equals one tab, and its visual width is just your personal preference.

 

Anyway...

 

52 minutes ago, toe_head2001 said:

it would be very easy to add an option to CodeLab for tabs.  However, all the templates within CodeLab are hard-coded with spaces. So basically, you would easily end up with a document mixed with tabs and spaces.

 

Well, it's not really a big deal, replacing manually is quite easy. Or actually, it would just be easier to simply to do a replace in the templates before adding them to the documents if the user has some "use tabs" option enabled.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...