Bug SS-49
3 votes

Empty text regions or language versions disappear before they loose focus

Created by Martin Kraska on 3/23/2014 5:07 PM Last Updated by Martin Kraska on 2/1/2017 10:34 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

If during edit of a text region all characters are deleted and the region is empty (e.g. because you want to fix a typo or want to replace the text) then the region disappears and you are either back on the canvas or fall back to other language versions of that region.

This is annoying, because this leads to unintended language switches while editing. In order to resume, you have to open the language version again via context menu.

Proposal: remove empty text region or language version only after the empty region is left (looses focus)

    Martin Kraska (Wednesday, February 1, 2017 10:34 AM) #

Empty text regions are tolerated by SMath in the state of creation, i.e. directly after typing ". In this state, saving the file corrupts it.