fixed some Julia -> TextEditor bugs