Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am a new user just turned from auto-complete to company mode. In auto-complete mode, I use tab key to start completion, when there're no characters at all, the tab key will behave as usual, i.e. indent this line. But in company mode, whenever I type 'tab', it will automacilly shows the completion popup window, so I cannot use tab to indent. How can I solve this problem?
By the way, I also want the completion starts when I type ::,-> and . in C++ mode. The backend is irony mode. I add the next line in my init file ,but it doesn't work at all:
(add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
Another problem is that does company realize the case insensitive matching? For example, I want to complete a variable named aBigApple, I just need to type 'abig' .
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Is it possible to have Word (Office 365) automatically select a block of text when a user clicks into it?
For example we have instructions in a document that might be [insert updated fee here]
In general the whole block needs to be replaced with the new text.
These blocks are formatted in a specific way, so the method could be associated with a specific style, but as there are likely multiple instances of the style we would only want to update the one clicked on, not all instances.
I can't find a native method, so are we looking at a macro on each template that this occurs on?
You could insert your text blocks into Rich Text Content Controls as the placeholder texts for those content controls. No code required.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a problem probably totaly beginners level but anyway it drives me crazy so please help.
I can´t edit any code in the program when i try it looks like i´m in "insert" mode with like a block cursor.
I can´t delete anything or write anything. What could it be? and how do i fix it?
I am on a macbook pro.
I believe the reason is that you installed vim extension in vscode by mistake as it puts you in the insert mode by default until you press (i) to edit text. uninstall vim extension and things should go back to normal. or refer to this vim cheatsheet for more information about using vim as a text editor.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I seem to have gotten Microsoft Word (from Office 2003) into a weird mode.
If I select some text with the mouse and "type over" it, the new text is inserted before the selected text instead of replacing it. Same thing happens if I use the Delete or Backspace key to eliminate it.
The following do work as expected:
1. backspace over the characters I want to delete, one character per keystroke
2. Same thing with the Delete key
3. control-X to "cut" the text.
Does anybody know how to return to "normal" behavior? And for that matter, how I managed to get into this mode?
You have activated the overwrite function!
https://support.office.com/en-us/article/Turn-on-or-off-overtype-mode-2fe125af-505f-4ce7-bbea-f0e64e381e75
The comment by MyDog led me to the right answer:
Tools menu ->Options, select the "Edit" pane and check "Typing Replaces Selection".
I have also found out what causes the problem -- at least the immediate cause. If I copy an image from another app (e.g., Irfanview or MS Paint) and paste it into the Word document, that turns off "typing replaces selection". I'm not sure why MS thought this would be a good idea, or if it's just a bug, but at least now I know what causes it, and that I have to turn typeover back on after pasting an image.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am doing text editor.I wanted to use function that will display line no of text editor.I got the function to get line number,but i wanted to show that no on window and user should not be allowed to change that no.I think i should do separate panel on text editor to display line no>
You probably want to use GtkSourceView instead of a TextView (e.g. the widget used by gedit among others), there are specific methods ready to use such as:
gtk_source_view_set_show_line_numbers
https://developer.gnome.org/gtksourceview/stable/GtkSourceView.html#gtk-source-view-set-show-line-numbers
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I use FAR. When run I can change color of text to green(in command line - after Ctrl-O) like in Matrix using system menu properties->Settings...
But when I close and after start again - color return to black&white.
How to make these changes permanent?
F9->Options->Colors->CommandLine. There are setting of color for different kind of displayed text.
Console color settings are stored in the shortcut file (*.lnk).
Create a shortcut to start Far (for example on your Desktop) and then change colors using the shortcut Properties. Use this shortcut to start Far.