News for hackers. Stuff that matters.
Re:Modern terminal-based text editor by int_19h on Thursday September 28, 2017 @09:42PM (#15362156)
It should be relatively easy using Free Pascal and its FreeVision text-mode UI toolkit. You get all the widgets, menus, scrollbars etc premade, complete with mouse support. They even have the editor widget with syntax highlighting already (in the text mode IDE; not sure if it's in the base library). All that's needed is to replace the default Borland-style shortcuts with CUA.

http://www.principiaprogramatica.com/wp-content/uploads/2009...

Re:Modern terminal-based text editor by dmoo on Friday September 29, 2017 @07:35AM (#15364383)
Speaking of Borland does anyone else remember the Brief editor. Was my goto for about a decade back in the early 90’s. Highly configurable, macros, column select and easily opened giant files.
Re:Modern terminal-based text editor by lttlrck on Sunday October 01, 2017 @12:54AM (#15376461)
Brief was excellent, as was the GUI version Crisp. Superb window split implementation.
Re:Modern terminal-based text editor by mixmastamyk on Friday September 29, 2017 @12:55AM (#15362787)
Nice, loved turbo vision. Wonder if they could update with Unicode characters and 256+ colors?
Re:Modern terminal-based text editor by badsectoracula on Friday September 29, 2017 @04:20AM (#15363616)
Both would be very hard, my Outliner Lighto [0] program uses the Video unit that Free Vision uses and the main reason it cannot do unicode is that the screen is handled as an array of 8bit pairs (one byte is used for the character and the other byte is used as a pair of 4bit numbers, one for the foreground and one for the background) pretty much the same way that CGA had its text mode. All drawing in Free Vision is done by writing directly to TDrawBuffer types which are basically arrays of such cells. Also Free Vision specifically (this isn't a limitation of the Video unit) has a maximum width limit of 255 characters (technically it is the maximum width of a view, but the "desktop", the menubar, etc are all views).

You'd need a very massive overhaul to introduce unicode and more than 4bit/4bit color pairs to Free Vision.

[0] http://runtimeterror.com/rep/ol

Re:Modern terminal-based text editor by int_19h on Friday September 29, 2017 @01:00AM (#15362797)
Unicode would probably be a significant effort. It's actually a Turbo Vision port, and, as I recall, it still uses 8-bit strings, same as original did.