Closed aleksei-berezkin closed 8 years ago
I noticed that the pasteBeforeComment test is passing without the changes in the commit. Is it expected?
@timzam The test proves changes in TextEditingTrait.onPaste()
needed for new version on uncomment processing in TokenCellTraits
. Applying only latter will fail the test.
I see. Looks good to me.
Changes in
TextEditingTrait
caused by possible processed token removal (resulting in cell detach). Earlier current token also had a chance to be removed, but this was happening in other paths which took this into a consideration and no error was encountered.Changes in
TextEditingTrait
are covered by new and some old tests.