I use tinyMCE version 5.07 I noticed that when I insert the text #1 it automatically changes to <h1>1</h1>
How can I disable this automatic formatting or change it that # will not trigger automatic formatting?
You likely have the textpattern plugin enabled:
https://www.tiny.cloud/docs/plugins/textpattern/
The # character when running that plugin turns the remainder of the line into an <h1> tag. If you don't run that plugin that will stop happening.
Related
I cannot figure out the option to turn off the new "feature" where the VS Code HTML mode editor types stuff for you in the following scenario:
I type <b> and when I hit that last > it then types </b> which I then have to delete and move to where I want it.
How do I keep VS Code from typing stuff for me in this case? I have these two options set like this:
"editor.quickSuggestions": false,
"editor.autoClosingBrackets": false,
Sort of the opposite of this question: VSCode not auto completing HTML
I found it:
// Enable/disable autoclosing of HTML tags.
"html.autoClosingTags": true,
This new feature shipped with autoClosingTags set to true by default, which was, unfortunately, a disruptive change if you were used to being able to type without random stuff being inserted into your document as a side effect.
Setting autoClosingTags to false restores the original behavior.
"html.autoClosingTags": true,
"html.autoClosingTags": true,
Does not work for me .. maybe misleading or bug
I do a workaround to change the type of the file down the editor to handlebars or another language because it was very frustrating for me that the editor insists to add something I understand I do not need like closing tag while the closing tag should be at footer file.
I'm trying to paste content from a word doc into a tinymce instance. The content contains the § (paragraph) character, but TinyMce changes it into an li tag.
Is there a way to config TinyMce to allow special characters like §?
What you are seeing is behavior around the Paste plugin when a sentence starts with that character.
When it starts with that character the Paste plugin treats that like a list element. If the character is anywhere other than the first character TinyMCE does not create a list element.
The best thing to do is to open a bug report on the issue tracker for TinyMCE so the developers are aware of this issue.
https://github.com/tinymce/tinymce/issues
I am using RubyMine 6.3.2. When I type the following line and press return/enter:
# This is a comment.
the editor inserts additional text, resulting in:
# This is a comment.after() do
end
I understand that this happens because "aft" is the first item on the dropdown that appears after typing ".". I can preventing the insertion by pressing space after return/enter, but that adds a space to the end of the line, and I have to remember to do it.
Is there a way to disable code completion within comments?
It is a bug: http://youtrack.jetbrains.com/issue/RUBY-15127
It was fixed in 6.3.3, which was released yesterday: http://blog.jetbrains.com/ruby/2014/06/rubymine-6-3-3-rspec-3-code-insight-other-fixes/
This duplicate bug report http://youtrack.jetbrains.com/issue/RUBY-15195 gives a workaround, which is to go to RubyMine's registry (Control-Shift-A and type "registry") and uncheck "show.live.templates.in.completion". That works, and it revealed to me the existence of RubyMine's registry, so that's cool.
I have a text file, it uses CRLF as line terminator.
when I check in the file, clearcase removes CR and leave LF only.
How to prevent such a behavior ?
I'm using clearcase on windows
On way ts to set a text mode file.
The other is to modify the global setting:
type clearhomebase
onglet Options
click on "User Preferences"
onglet View
Deselect the "Text Mode Option".
I am coding a Notepad++ plug-in to create an IDE for a scripting language that I and some others use.
My problem is that I can't figure out why Scintilla's AutoComplete functionality leaves the start of the string after an AutoComplete selection has been made.
I've tried deleting the start of the string, but this doesn't seem to work either. I suppose I could manually replace the target with the AutoCompletion selection when I get the AutoComplete selection notification, but shouldn't Scintilla do this automagically?
If you set Scintilla.AutoComplete.AutomaticLengthEntered = true, Scintilla will attempt to guess the length of the word and replace it when the AutoComplete entry has been accepted.
If you're showing a custom AutoComplete list using Scintilla.AutoComplete.ShowUserList, the first parameter (listType) is the number of characters that will be replaced when a match is accepted. Similarly, the lengthEntered in Scintilla.AutoComplete.Show is the number of characters to be replaced.