View Single Post
Old 01-26-2021, 06:44 AM   #1
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 876
Karma: 3501146
Join Date: Jan 2017
Location: Poland
Device: Various
Two problems with splitting files

First case
  1. Open any file, place the cursor in front of any open or close tag, and try to split the file (Split At Cursor).
Message: File cannot be split at this position.

Why? After all, it is enough to move the cursor one field to the left and then the split will work.


Second case
  1. Open any file, but change the extension from xhtml to xml (I see files like that in the wild quite often).
  2. Place the cursor anywhere (apart from the one I described in the first case of course) and try to split the file (Split At Cursor).
Message: Cannot split since it may not be an HTML file.

Despite the message, the split will be performed ... but the split part of the file will be lost (we lose a piece of code BEFORE split position, and it remains AFTER split)
Attached Thumbnails
Click image for larger version

Name:	sigil-cannot-split-before-tag.png
Views:	202
Size:	22.6 KB
ID:	184977  
BeckyEbook is offline   Reply With Quote