Text editor wrapping actual text - not display - text-editor

I see text online and text files that have been wrapped to 80 chars wide however I cannot seem to find a text editor or function that 'maintains' the wrapping to 80 characters - not just the appearance of the text but the actual text itself.
How do I do this in Notepad++? What about vim?
Thanks

The Zeus editor does this kind of hard line wrapping. There is a line wrap margin define in the Options, Properties menu.
Zeus is shareware, but there is a freeware Zeus Lite version that also has this feature.

Related

How to get and set the markdown for what's selected in wysiwyg mode?

I'm trying to add some extra toolbar tools and need to get and set the markup for what's selected while in wysiwyg mode.
When i use tuiEditor.getSelectedText on a link i just get the text label, and when i use tuiEditor.replaceSelection with the correct syntax it escapes the brackets to that text appears in the page (i.e. converts [text](url) to \[text\]\(url\).
It works fine in markdown mode.

Sublime Text 3: bold text in plain text mode

I'm pretty new in Sublime Text 3, and I know it allows for a wide customization.
I would like to know how I could make some part of the text bold, italic or underlined, or even coloured, when I'm writing a plain text. It may sound dumb, but I have no idea how to do it and whether I can do it.
Thank you!
Your best bet is to use the MarkdownPreview plugin combined with the LiveReload plugin to display Markdown text written in Sublime as HTML displayed in your web browser. Unfortunately there isn't anything at this time that can display rendered HTML or Markdown in Sublime itself.
EDIT Apparently there is also MarkdownLivePreview, which I wasn't aware of before. I haven't tested it yet, but it's very popular, so you might want to try it.

How can I move the Gimp Text Tool (not the text layer)

when editing text in gimp the text tool is displayed on the screen.
Sometimes the text tool is blocking my view when adjusting or if I zoom in a lot, is not displayed in the visible portion of the screen.
How can I move the text tool itself, so that it is in a place where it does not obstruct any important part of the image.
Btw: This is the text tool:
You can't (this is a rather common complaint).

color caret in sublime text 3

I would like my caret in sublime text 3 to have a custom hex color attached to it so it is easier to see. Is there a plug in that I can download to achieve this feature or do I haft to edit the theme file? If I need to edit the theme file how should I do that and achieve a successful result.
SublimeText theme files are XML, so you can just find and edit the following chunk
<key>caret</key>
<string>#FFFFFF</string> # change this to the color you want
Otherwise, if you prefer a more GUI approach you can have a look at TMTheme Editor

Can I use multiple font style in UITextView?

I have a requirement to use multiple font style in UITextView. Like Bold, Italic and Underline text in single Textview. Like:
One word is Bold second may be italic third Underline as per user selection.
I don't think this is allowed to do but still if any one have achieved and want to share. I need this all while enter text and same while displaying.
Thanks
You're right that the standard UITextView does not support rich editing. At the moment there are a few solutions to the problem.
The Omni Group has released their iOS and Mac frameworks under an open source license. These include a very powerful rich text editor (see: OUIEditorFrame.m). These are very powerful but also extremely complex. Their sample iPad app includes the rich text editor example. Further discussion can be found here
Secondly, this guy has been working on a custom rich text editing control and is offering it under a negotiable licensing agreement.
Finally, you can do it all yourself and create an editor control that implements the UITextInput protocol. Aside from the Apple documentation, there are some tips on doing this here.
Why don't you use attributed string and use its property to set the string as you like.
Reference link : https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/AttributedStrings/Tasks/CreatingAttributedStrings.html

Resources