deadpixi / sam

An updated version of the sam text editor.
Other
430 stars 46 forks source link

Syntax highlighting #89

Open ghost opened 5 years ago

ghost commented 5 years ago

it seems youve made it pretty clear that this wont happen:

http://github.com/deadpixi/sam#things-that-wont-ever-happen-sorry

perhaps this page can serve as a place for people to voice their support - futile as it may be

deadpixi commented 5 years ago

It's not that it'll "never" happen. It's that the code for samterm is really old. Like pushing 30 years old. It was a crazy hack just to get the different colored backgrounds in.

I've been having some personal stuff to deal with lately (nothing bad, just time-consuming) that is slowly getting done. When things finally calm down and I have some real free time again, I was going to rewrite the terminal half of sam in Tcl (see below for reasons), and at that point it'll be easier to add things.

(The Tcl idea is because samterm right now is married to Xlib, Xt, and a custom bitmap layer on top of that (Xg). Tcl for just the terminal part makes sense, IMHO: it's installed by default on MacOS, most Linux distros, various BSDs, and is easily available for Windows, so the terminal part can be made platform independent...)

ghost commented 5 years ago

@deadpixi but tcl/tk is pretty old too, the wayland wave is comming and hopefully you will have working terminal from 80s, on a tk thats just as old, running on Xorf from 70s(?) through Xwayland? except if tk is going to be updated for wayland, which i dont expect to happen. sam is suppose to function through time and space, so make it more like so, start thinking about the future of it, not the past!

anyway tk is probably ok for now tho

arizvisa commented 2 years ago

lol. what i'd give to have syntax highlighting..but just for sam's commands and addressing to make it easier to dev with ssam from vim.