I don't expect that Jmeter will have a powerful editor for script. But at least it should support Undo editor function . That will make life much easier.
*** This bug has been marked as a duplicate of bug 42248 ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2502