Quote:
Originally Posted by KevinH
Okay I just pushed a "fix" to master to handle this case a bit better. If and only if the contents of a file are changed by Mend or Mend and Prettify, the cursor will now be positioned to the start of the tag that enclosed the previous cursor position instead of being moved to the very end of the document. Otherwise the cursor position is untouched.
That said, if M or M & P need to "fix" things by inserting or changing tags in the html tag hierarchy, the position may end up higher up the html tree or in the wrong place.
Hope this helps.
|
Many thanks! I use M&P mainly to prettify the code so your fix will help a lot.