Alex Ross, thanks for all the hard work you've put into the latex2 bundle.
I have a request that maybe you can help with. There is a command in the latex bundle 'toggle starred' which adds or removes a star from sectioning commands:
/section{} /section*{}
This works, but when executed it unfolds all of my folded blocks, and leaves the screen such a state that I completely lose where I was. Is this something that can be fixed?
Thanks.
Le 8 déc. 2009 à 18:44, David Whetstone a écrit :
Alex Ross, thanks for all the hard work you've put into the latex2 bundle.
I have a request that maybe you can help with. There is a command in the latex bundle 'toggle starred' which adds or removes a star from sectioning commands:
/section{} /section*{}
This works, but when executed it unfolds all of my folded blocks, and leaves the screen such a state that I completely lose where I was. Is this something that can be fixed?
Hi
No problem here but I use a french keyboard. The problem appears with ctrl * ?
You have a problem with some shortcuts because the shortcut to toggle foldings at all levels is alt cmd 0.
Best regards
Alain Matthes
On Dec 8, 2009, at 1:57 PM, Alain Matthes wrote:
No problem here but I use a french keyboard. The problem appears with ctrl * ?
Yes, the problem appears with ctrl-*, but also if I call it from the gear menu. Are you saying that your folds stay folded after you invoke this command? I wonder what the difference could be.
You have a problem with some shortcuts because the shortcut to toggle foldings at all levels is alt cmd 0.
I'm not sure I understand what you're trying to say here. Are you saying that somehow ctrl-* is also invoking alt-cmd-0 ?
Le 8 déc. 2009 à 23:55, David Whetstone a écrit :
On Dec 8, 2009, at 1:57 PM, Alain Matthes wrote:
No problem here but I use a french keyboard. The problem appears with ctrl * ?
Yes, the problem appears with ctrl-*, but also if I call it from the gear menu. Are you saying that your folds stay folded after you invoke this command? I wonder what the difference could be.
Sorry my english is very poor and you are right : Togglr star unfolds foldings.
unfold is not fold but I prefer that my (un))folds stay unfold after the Toggle Star command
I think it's easy to make a new macro with "ctlr *" and then "alt cmd 0"
Remark : Toggle Star is a complex macro !
Best regards
Alain Matthes
On Dec 8, 2009, at 9:36 PM, Alain Matthes wrote:
Le 8 déc. 2009 à 23:55, David Whetstone a écrit :
On Dec 8, 2009, at 1:57 PM, Alain Matthes wrote:
No problem here but I use a french keyboard. The problem appears with ctrl * ?
Yes, the problem appears with ctrl-*, but also if I call it from the gear menu. Are you saying that your folds stay folded after you invoke this command? I wonder what the difference could be.
Sorry my english is very poor and you are right : Togglr star unfolds foldings.
C'est pas grave. Je crois que mon français est pire que votre anglais. ;)
unfold is not fold but I prefer that my (un))folds stay unfold after the Toggle Star command
I think it's easy to make a new macro with "ctlr *" and then "alt cmd 0"
Yes, but that isn't really the effect that I'm looking for. I would like to add the star without losing my context. I guess I'll just keep doing it the manual way.
Remark : Toggle Star is a complex macro !
Perhaps too complicated? Maybe when I have some free time I'll try to write a simpler one that does only what I need.
Merci pour vos réponses.
- David
On 08 Dec 2009, at 18:44, David Whetstone wrote:
This works, but when executed it unfolds all of my folded blocks, and leaves the screen such a state that I completely lose where I was. Is this something that can be fixed?
Afraid this is a problem with TextMate, that it doesn’t preserve foldings for replacements (and the toggle command do a replacement).
Allan Odgaard <mailinglist@...> writes:
On 08 Dec 2009, at 18:44, David Whetstone wrote:
This works, but when executed it unfolds all of my folded blocks, and leaves the screen such a state that I completely lose where I was. Is this something that can be fixed?
Afraid this is a problem with TextMate, that it doesn’t preserve foldings for replacements (and the toggle command do a replacement).
textmate mailing list textmate <at> lists.macromates.com http://lists.macromates.com/listinfo/textmate
I had the same problem as David so I recorded a macro that searches for \begin...\end and toggles \begin{environment*} with \begin{environment} (and also \end{...}). Works only for the innermost \begin-\end couple of course, but this covers 95% of situations.
Apparently, search-and-replace does not change the folding state of the window.
Ciao Piero