Issue-584: Fixed sub sequence when the resulting sub sequence will be…#585
Issue-584: Fixed sub sequence when the resulting sub sequence will be…#585afester wants to merge 1 commit intoFXMisc:masterfrom
Conversation
|
Thanks for the link to #573 - will check that ... |
|
The issue that arises both in #573 and #584 is the fact that a style is still associated with an empty segment. Thus, one cannot use a singleton empty segment throughout the area when referring to an empty one because of the style. If you do, it messes up the undo/redo system (e.g. Again, this is why I'm proposing #567 as then we could have algerbraic data types: an empty and non-empty segment that can be created, subsequenced, etc. without needing the know anything about its style. |
|
@afester Can you write a test that shows the error arising? If you're not familiar with TestFX, you can write a sample JavaFX App and then list comments as to what is supposed to happen once the stage is shown. Then, I can convert it into a TestFX test. |
… empty