Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you can answer even one of these questions, I would greatly appreciate it. These questions are all for C++.
How can I display line numbers in the gutter?
What is the option for deleting or overwriting text that is selected (i.e., when text is selected, Delete deletes the selection and any other key overwrites it)?
How can I always indent four spaces, no exceptions? i.e., I don't want something like this:
Code:
void someLongFooName(int foo,
long bar)
but rather
Code:
void someLongFooName(int foo,
long bar)
or
Code:
void someLongFooName(int foo,
long bar)
Moreover, the indenting should never be relative to any preceeding line.
1. That displays the numbers in the side gutter and not the bottom status bar?
3. The problem is that the indenting is very unpredictable. I simply want to be able to press tab and have an indent exactly four spaces further than the previous, and always starting at the first column, a la
Originally posted by filburt1
1. That displays the numbers in the side gutter and not the bottom status bar?
Sorry then, I don't use xemacs, and in emacs it displays it at the bottom.
Quote:
3. The problem is that the indenting is very unpredictable. I simply want to be able to press tab and have an indent exactly four spaces further than the previous, and always starting at the first column, a la
Code:
.
.
.
.
etc. [/B]
Doesn't xemacs do that in text-mode?
You cna easily change the default-tab width
Well I have no idea what I'm doing then...I manually enable syntax highlighting to get color coding, and the tab is completely unpredictable. The selection problems are also incredibly frustrating.
Originally posted by filburt1
Well I have no idea what I'm doing then...I manually enable syntax highlighting to get color coding, and the tab is completely unpredictable. The selection problems are also incredibly frustrating.
I'm not sure whether you got the part about M-x text-mode...
All you need to do to get rid of the "erratic tabbing" (I find
it quite sensible) is to switch to text-mode ... and I'm sure
that there's a more "normal GUI" mode for highlighting and
deletion available ... in emacs you just use C-w to "delete" a
section of text.
I don't know why you would want to change xemacs's amazing indenting off... it does it all for you and it is a great way to find { } errors and such... (just tab every line and it indents properly... I have been helped countless times because of it's indenting...
Line numbers don't have to be that hard. in options, you can select line and column numbers, then go to the save to init file option in the options menu. As for the tab question, I thought a tab was already set at 4 spaces, anyways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.