hello
I find in a post :
I had been playing around with the language grammars and snippets, and started thinking that Allan probably has thought of some better way to edit the grammar.. I felt really stupid when I came across this blog that stated the obvious: while in bundle editor, naturally select Edit in TextMate.. - Voilá, the Language is set to 'Language Grammar' and colored nicely.
1) But If I select all the latex grammar I can't edit in textmate do't work but if I copy the text and textedit now I can edit the text with TM.
Now that we have a bundle development and language grammar snippets, I suppose that we make in a more elegant way. But how that' my question ?
2) I have an other problem we have show scope and copy scope but for Show TM_*variables how to copy the result ?
regards Alain
On 14/09/2007, at 17:03, Alain Matthes wrote:
[...]
- But If I select all the latex grammar I can't edit in textmate
do't work but if I copy the text and textedit now I can edit the text with TM.
So what happens?
Did you install Edit in TextMate? Do you see “Edit in TextMate…” in the Edit menu of TextMate?
Can you select the menu item while in the bundle editor?
- I have an other problem we have show scope and copy scope but for
Show TM_*variables how to copy the result ?
There is no variant for copying this -- but it should be easy to create one, if you need it (have a look at how the Copy Scope works).
Le 14 sept. 07 à 20:10, Allan Odgaard a écrit :
On 14/09/2007, at 17:03, Alain Matthes wrote:
[...]
- But If I select all the latex grammar I can't edit in textmate
do't work but if I copy the text and textedit now I can edit the text with TM.
So what happens?
Nothing only a noise "bing"
Did you install Edit in TextMate?
yes because with textedit I use it and I get the file in TM ! :)
Do you see “Edit in TextMate…” in the Edit menu of TextMate?
yes
Can you select the menu item while in the bundle editor?
yes
- I have an other problem we have show scope and copy scope but for
Show TM_*variables how to copy the result ?
There is no variant for copying this -- but it should be easy to create one, if you need it (have a look at how the Copy Scope works).
Yes :) I can look at Copy Scope.
Regards Alain
On 14/09/2007, at 23:50, Alain Matthes wrote:
[...]
- But If I select all the latex grammar I can't edit in textmate
do't work but if I copy the text and textedit now I can edit the text with TM.
So what happens?
Nothing only a noise "bing"
And is the actual text editing field active?
Le 15 sept. 07 à 16:46, Allan Odgaard a écrit :
On 14/09/2007, at 23:50, Alain Matthes wrote:
[...]
- But If I select all the latex grammar I can't edit in
textmate do't work but if I copy the text and textedit now I can edit the text with TM.
So what happens?
Nothing only a noise "bing"
And is the actual text editing field active?
I'm not sure to uderstand exactly actual text editing field active?
So I describe my situation :
1 open BUndle editor for Language 2 Select Latex in the window Languages 3 now I can write in the text.tex.latex document in the main window 4 Command A ( select All ) 5 Command C (copy) 6 services Edit in textmate with the menu or with the key equivalent commande ctrl 7 Bing !!
If 6 services Edit in Textedit (new window with the selection) ok I've the text.tex.latex in textedit 7 cCommand A ( select All ) 8 Command C (copy) 9 services Edit in textmate ok it'fine anew window in TM with text.tex.latex
I made a mistake...??
regards Alain
Le 15 sept. 07 à 17:34, Alain Matthes a écrit :
Le 15 sept. 07 à 16:46, Allan Odgaard a écrit :
On 14/09/2007, at 23:50, Alain Matthes wrote:
[...]
- But If I select all the latex grammar I can't edit in
textmate do't work but if I copy the text and textedit now I can edit the text with TM.
So what happens?
Nothing only a noise "bing"
And is the actual text editing field active?
I'm not sure to uderstand exactly actual text editing field active?
So I describe my situation :
1 open BUndle editor for Language 2 Select Latex in the window Languages 3 now I can write in the text.tex.latex document in the main window 4 Command A ( select All ) 5 Command C (copy) 6 services Edit in textmate with the menu or with the key equivalent commande ctrl
No it's not ctrl but in french entrée. but : bing !!
Alain
On 15/09/2007, at 17:34, Alain Matthes wrote:
[...] I'm not sure to uderstand exactly actual text editing field active?
So I describe my situation :
1 open BUndle editor for Language 2 Select Latex in the window Languages 3 now I can write in the text.tex.latex document in the main window 4 Command A ( select All ) 5 Command C (copy) 6 services Edit in textmate with the menu or with the key equivalent commande ctrl 7 Bing !!
I don’t really understand steps 3-7 here.
After selecting LaTeX (your step 2), activate the text editing control (in the bundle editor window) and then call Edit → Edit in TextMate…
Le 18 sept. 07 à 16:21, Allan Odgaard a écrit :
On 15/09/2007, at 17:34, Alain Matthes wrote:
[...] I'm not sure to uderstand exactly actual text editing field active?
So I describe my situation :
1 open BUndle editor for Language 2 Select Latex in the window Languages 3 now I can write in the text.tex.latex document in the main window 4 Command A ( select All ) 5 Command C (copy) 6 services Edit in textmate with the menu or with the key equivalent commande ctrl 7 Bing !!
I don’t really understand steps 3-7 here.
After selecting LaTeX (your step 2), activate the text editing control (in the bundle editor window) and then call Edit → Edit in TextMate…
I don't understand "activate the text editing control"? what is this operation ? select all? copy ? I click somewhere ?
If I want to see edit in TM in bold in the service, I need to copy
{ scopeName = 'text.tex.latex'; firstLineMatch = '^\documentclass(?!.*{beamer})'; fileTypes = ( 'tex' ); foldingStartMarker = '\begin{.*}|%.*(fold)\s*$'; foldingStopMarker = '\end{.*}|%.*(end)\s*$'; patterns = (
... { include = 'text.tex'; }, ); }
I try with only a part from this text and it's the same problem When i want to use edit in TM in an other soft, I select a text and I copy this selection then I make "edit in TM"
Regards ALain
On Sep 18, 2007, at 10:52 AM, Alain Matthes wrote:
I don't understand "activate the text editing control"? what is this operation ? select all? copy ? I click somewhere ?
Just click in the text box to make it have focus; you don't need any selection. If you do have a selection it will use only the selection, but without one it defaults to the entire box.
I try with only a part from this text and it's the same problem When i want to use edit in TM in an other soft, I select a text and I copy this selection then I make "edit in TM"
Copying doesn't do anything, all that's required is that the field have focus.
Le 18 sept. 07 à 21:02, Michael Sheets a écrit :
Copying doesn't do anything, all that's required is that the field have focus.
You are right with TextEdit I can only select some words and Edit in TM works without a copy but with TM nothing. I can select some words in the field of the language grammar of LaTeX or simply the field has the focus, Edit in TM gives me only "Bing" !!
If nothing is selected, Edit in TM is in gray and I can select the item, If i select some words then I can select Edit in TM but I can't edit the text
I try on a powermac and a macbook TM 1.5.6 (1414) and it's the same Impossible to edit the grammar language
I try Service Scrubber and I make only Edit in TM active and always the same problem.
Copy and Paste works but it's not funny
Regards Alain
Finally figured out your issue, you had been saying service but I thought you just didn't know the right terminology. :) Had forgotten that it did use to be a service, was before I started using it heavily.
First go remove the service, it's very old. It would be in ~/Library/ Services/ I presume.
Then go install the proper one, an Input Manager now. In the Textmate bundle choose "Install Edit in Textmate". After it installs restart the application you want to use it in an it will be in the Edit menu of the application and work like I mentioned before. :)
Le 19 sept. 07 à 00:37, Michael Sheets a écrit :
Finally figured out your issue, you had been saying service but I thought you just didn't know the right terminology. :) Had forgotten that it did use to be a service, was before I started using it heavily.
First go remove the service, it's very old. It would be in ~/ Library/Services/ I presume.
Then go install the proper one, an Input Manager now. In the Textmate bundle choose "Install Edit in Textmate". After it installs restart the application you want to use it in an it will be in the Edit menu of the application and work like I mentioned before. :)
I'm tired with this problem
yes I know the terminology : service but I don't know that there are two same things for edit in TM
Yes in the folder Services I found TexMate Service.service and in InputManagers "Edit in TextMate". I remove the two services and I create a new one with the Textmate bundle "Install Edit in Textmate". Now I do't have any "edit Servive in TM" in the services menu. It's more simple ....
I think that there is a little bug , If textmate service.service becomes why don't remove the old one before create tne new one.
But now how to "make in service" (french expresion) Edit in Menu . I've it in InputManagers but noting in the services :(
Regars Alain
I'm tired with this problem
Yeah sorry, we should have picked up on the real issue earlier.
yes I know the terminology : service but I don't know that there are two same things for edit in TM
I think that there is a little bug , If textmate service.service becomes why don't remove the old one before create tne new one.
But now how to "make in service" (french expresion) Edit in Menu . I've it in InputManagers but noting in the services :(
Look in the Edit menu of any application, you'll find a new menu option there. "Edit in Textmate", with a shortcut of control-command- E. Won't find anything in the services menu at all.
Le 19 sept. 07 à 01:51, Alain Matthes a écrit :
Le 19 sept. 07 à 00:37, Michael Sheets a écrit :
Finally figured out your issue, you had been saying service but I thought you just didn't know the right terminology. :) Had forgotten that it did use to be a service, was before I started using it heavily.
Ok Edit in TexMate is not, now, a service but a new possibility to edit a text in textmate . My problem was, that I had the old service in the menu service and I never think that now in the cocoa apllication we find a new item in the menu Edit
Thanks because is a great pleasure to use this command
Regards Alain
Alain, one word of caution with the command, when you use it with the Bundle editor. If you:
1) open the bundle editor 2) select a command 3) click its text field to make it get focus 4) start the "Edit in textmate" command to get the text in a nice new window 5) go back to the text editor and select a new command 6) go back to the nice new window that had the stuff from "Edit in Textmate" 7) save.
Then you have just overwritten the new command you selected in step 5. So I would strongly advice staying away from the bundle editor until you've closed the "Edit in TextMate" window.
Best Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Sep 18, 2007, at 8:16 PM, Alain Matthes wrote:
Le 19 sept. 07 à 01:51, Alain Matthes a écrit :
Le 19 sept. 07 à 00:37, Michael Sheets a écrit :
Finally figured out your issue, you had been saying service but I thought you just didn't know the right terminology. :) Had forgotten that it did use to be a service, was before I started using it heavily.
Ok Edit in TexMate is not, now, a service but a new possibility to edit a text in textmate . My problem was, that I had the old service in the menu service and I never think that now in the cocoa apllication we find a new item in the menu Edit
Thanks because is a great pleasure to use this command
Regards Alain
Le 19 sept. 07 à 03:00, Charilaos Skiadas a écrit :
Alain, one word of caution with the command, when you use it with the Bundle editor. If you:
- open the bundle editor
- select a command
- click its text field to make it get focus
- start the "Edit in textmate" command to get the text in a nice
new window 5) go back to the text editor and select a new command 6) go back to the nice new window that had the stuff from "Edit in Textmate" 7) save.
Then you have just overwritten the new command you selected in step 5. So I would strongly advice staying away from the bundle editor until you've closed the "Edit in TextMate" window.
Best Haris Skiadas
Thanks Haris. I know that a little because before to use that I have some problem when I work on the text field and when by inadvertence I click on the scope's list :(
I hope in TM2 a better way to manage this ! :)
Regards Alain