What should i do to display line no in text editor ,which we have design using Gtk in c? [closed] - gtk

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

Related

Word: Automatically select text block on click [closed]

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.

How to remove this feature from XCode? [closed]

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 cannot find a name for this feature and therefore I cannot figure out how to remove it. It is the mini view image that pops up in Xcode when working with Swift on the storyboard. I feel like this has to be an easy fix but I do not know how to look it up.
Mini View
It is called Minimap. You can toggle it using the editor menu or pressing ctrl-shift-command-M on the keyboard.

Word: Picture hidden behind text [closed]

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 6 years ago.
Improve this question
Since this problem is reoccurring in my workflow and the solution is hard to find:
When pasting pictures into a MS Word document, sometimes it disappears behind the text, at least when working in the Print Layout. Sometimes also the text disappears and only part of the image is visible.
Select the image (if you cannot select it, change the view)
Go to Home > Paragraph > Line Spacing Options. A dialog box will appear.
Change the Line spacing from Exactly to anything else
Click OK

LO Writer: Table border disappear upon PDF export [closed]

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 3 years ago.
Improve this question
I have a table in a Writer document. In the document the table borders are visible.
The problem is when i export the document as a PDF file. The borders disappear.
Is it possible to change this behaviour?
The Writer edit window shows a thin gray border even if the table has no borders to help your editing. You can go to File -> Print Preview to see the document as it will look like when it comes to PDF export or printing.

How change color of text in FAR? [closed]

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.