Coding style

- Rename Editor -> TextEditor
- Rename IDE -> TextFilesEditor
This commit is contained in:
Andrew Hamilton 2022-06-12 21:26:58 +10:00
parent fb8b796172
commit 47e303aa3b
3 changed files with 22 additions and 22 deletions

View file

@ -90,10 +90,10 @@ class ExpandTabsTestCase(unittest.TestCase):
self.assertEqual(editor.expandtabs("c\na♓\tb"), "c\na♓ b")
class EditorTestCase(unittest.TestCase):
class TextEditorTestCase(unittest.TestCase):
def setUp(self):
self.editor = editor.Editor()
self.editor = editor.TextEditor()
def _assert_editor(self, expected_text, expected_cursor_position):
cursor_x, cursor_y = expected_cursor_position