Juergen Spitzmueller schrieb:
I'm presently committing the attached patch that disables inset-dissolve correctly (preventing a crash in an invalid case) and also disables it for table insets.
Great!
+       case LFUN_CHAR_DELETE_FORWARD:
+               if (!cur.selection() && cur.depth() > 1
+                   && cur.pit() == cur.lastpit()
+                   && cur.pos() == cur.lastpos()) {
+               status.enabled(false);
+               return true;
+               }
+               // Fall through
Missing "break;" ???
+
+       case LFUN_CHAR_DELETE_BACKWARD:
+               if (cur.depth() > 1 && cur.pit() == 0 && cur.pos() == 0) {
+               status.enabled(false);
+               return true;
+               }
+               // Fall through
Missing "break???"

Michael


Reply via email to