Albert Zeyer

Results 813 comments of Albert Zeyer

Thanks for the example, that's very nice! That's very much what I had in mind. You should add such example code to the documentation (maybe in Python, that would be...

I'm trying to play around with this right now ([here](https://github.com/albertz/playground/blob/master/domterm-foldtext.py)) but I still don't fully understand it. Maybe you can make a simpler example? What I want (maybe good for...

It would still be nice to have some very short examples (e.g. like 5 lines of Python code), for some of the common (simple) cases. My goal is currently to...

The problem with "\n", am I doing something wrong, or is this "broken" by design? If I'm doing sth wrong, can you explain how to do it right? Or do...

I extended [my demo](https://github.com/albertz/playground/blob/master/domterm-foldtext.py) a bit further, and have a screenshot now here:

If the last char before the hide-span is a color escape code (`\x1b[0m`), it seems it is not correctly handled. See my most recent addition to my [demo](https://github.com/albertz/playground/blob/master/domterm-foldtext.py).

If you copy some folded text to the clipboard, it will not copy the hidden text (only if it is unfolded). I'm not sure if this is by design or...

Another kind of feature request for the folding: It would be nice if I can set some identifier string for each show/hide button, and then: Remember what state it is...

>> I want to have an option that the hidden text will be copied to the clipboard in any case. > I don't think that is a good idea. Well,...

> What do you mean by "restart the tool"? Do you mean re-running an application in the same DomTerm session, and having the initial folding state match the previous run?...