This turned out to be a relatively easy thing to change that should not impact other things in CodeView.
I just now pushed these changes to master, For heading level changes, if no selection has been made but the cursor is in a line, that line is properly changed to that heading level.
Similarly for Bold, italic, strikethrough, underline, subscript and superscript, if nothing is selected and the cursor lies in a word, that word will be selected and the operation will be applied.
Seems to work okay under limited testing.
These changes should appear in the next release.
KevinH
Quote:
Originally Posted by elibrarian
Headers (H1-H6) will always be a full line. So why not make the CTRL + 1 etc. insert <h1>-</h1> tags around the line, in which the cursor is placed, if (and only if) no text is selected?
Almost the same goes for bold, italics etc. - if no text is selected, the ctrl + b (e.g.) could surround the word where the cursor is placed.
|