diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-07-06 18:53:23 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-07-06 18:53:23 +0300 |
commit | f1fec09d2d38f759d940dabbeab26a6ab7839c8b (patch) | |
tree | fbf2b6e6e344464f31199a4fadbc830e0fee3ceb /freebsd/files | |
parent | 5546c501850b54c5a466a3448374d3b354952088 (diff) | |
download | sciteco-f1fec09d2d38f759d940dabbeab26a6ab7839c8b.tar.gz |
fixed ]$ and ]~ (pop from Q-Reg stack to special Q-Registers)
* This was setting only the teco_doc but wasn't calling the necessary
set_string() methods.
* The idiom [$ FG...$ ]$ to change the working directory temporarily
now works.
* Similarily you can now write [~ ^U~...$ ]~ to change the clipboard
temporarily.
* Added test suite cases. The clipboard is not tested since
it's not supported everywhere and would interfer with the host system.
* Resolved lots of redundancies in qreg.c.
The clipboard and workingdir Q-Regs have lots in common.
This is now abstracted in the "external" Q-Reg base "class"
(ie. via initializer TECO_INIT_QREG_EXTERNAL()).
It uses vtable calls which is slightly more inefficient than per
register implementations, but avoiding redundancies is probably more
important.
Diffstat (limited to 'freebsd/files')
0 files changed, 0 insertions, 0 deletions