Sometimes when I copy and paste, or select a file from templates, I get so many pair of inverted commas in the file like given below
\documentclass[aps,prl,twocolumn,floatfix,groupedaddress]{revtex4}' '' '\usepackage{amssymb}' '\usepackage{amsmath}' '\usepackage{bm}' '\usepackage{graphicx}' '\usepackage{subfigure}' '\usepackage{dcolumn}' '\usepackage[colorlinks,citecolor=red,linkcolor=blue,urlcolor=blue]{hyperref}' '' '\begin{document}'
Is there something wrong in the setting of TextMate?
Best Regards, Riki
Hi Riki,
On 18 Sep 2015, at 9:46 , riki riki80@rediffmail.com wrote:
Sometimes when I copy and paste, or select a file from templates, I get so many pair of inverted commas in the file like given below
\documentclass[aps,prl,twocolumn,floatfix,groupedaddress]{revtex4}' '' '\usepackage{amssymb}' '\usepackage{amsmath}' '\usepackage{bm}' '\usepackage{graphicx}' '\usepackage{subfigure}' '\usepackage{dcolumn}' '\usepackage[colorlinks,citecolor=red,linkcolor=blue,urlcolor=blue]{hyperref}' '' '\begin{document}'
Is there something wrong in the setting of TextMate?
copying and pasting works fine here. Could you please provide steps to reproduce your problem?
You also mentioned that this happens when you select a template. Does this also happen when you use one of the included templates (e.g. Article.tex)?
Best Regards, Riki
Kind regards, René
Thanks René for your prompt kind reply.
Let me tell you how this unwanted behaviour happens for me: (1) Open a new file which is by default 'untitled.txt' (2) Save it by some name say 'test.tex' (3) type 'temp' and hit tab (4) Select 'Article.tex' template (5) Save 'test.tex' file and close it (6) Open 'test.tex' file and now I see lot of inverted commas in the 'test.tex' file
% !TEX TS-program = xelatex' '%' '% Created by Riki on 2015-09-18.' '% Copyright (c) 2015 .' '\documentclass{article}' '' '\usepackage{polyglossia}' '\usepackage{hyperref}' ''
Similar things happen when I copy content from one file and paste to another file.
Best Regards, Riki
On Fri, 18 Sep 2015 13:40:58 +0530 René Schwaiger wrote
Hi Riki,
On 18 Sep 2015, at 9:46 ,riki wrote:
Sometimes when I copy and paste, or select a file from templates, I get so many pair of inverted commas in the file like given
below
\documentclass[aps,prl,twocolumn,floatfix,groupedaddress]{revtex4}'
''
'\usepackage{amssymb}'
'\usepackage{amsmath}'
'\usepackage{bm}'
'\usepackage{graphicx}'
'\usepackage{subfigure}'
'\usepackage{dcolumn}'
'\usepackage[colorlinks,citecolor=red,linkcolor=blue,urlcolor=blue]{hyperref}'
''
'\begin{document}'
Is there something wrong in the setting of TextMate?
copying and pasting works fine here. Could you please provide steps to reproduce your problem?
You also mentioned that this happens when you select a template. Does this also happen when you use one of the included templates (e.g. Article.tex)?
Best Regards,
Riki
Kind regards,
Ren�©
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
Hi Riki,
On 18 Sep 2015, at 10:47 , riki riki80@rediffmail.com wrote:
Thanks René for your prompt kind reply.
Let me tell you how this unwanted behaviour happens for me: (1) Open a new file which is by default 'untitled.txt' (2) Save it by some name say 'test.tex' (3) type 'temp' and hit tab (4) Select 'Article.tex' template (5) Save 'test.tex' file and close it (6) Open 'test.tex' file and now I see lot of inverted commas in the 'test.tex' file
% !TEX TS-program = xelatex' '%' '% Created by Riki on 2015-09-18.' '% Copyright (c) 2015 .' '\documentclass{article}' '' '\usepackage{polyglossia}' '\usepackage{hyperref}' ''
thank you for the instructions. I just followed them and my copy of `test.tex` does not contain single quotes. Has anybody else the same problem as Riki?
It looks like some bundle modifies the content as soon as you save. Could you please:
1. Open `test.tex` 2. Click on “Bundles→Select Bundle Item…” (^⌘T) 3. Click on the gear on the top right of the popup window and select “Semantic Class” 4. Enter the text `document.` and share the resulting list
I also attached my list of commands for the semantic class `document.` as reference.
Similar things happen when I copy content from one file and paste to another file.
Does this also happen when you copy content from one text plain text file to another plain text file? Is this bug also reproducible? One thing you can always try is to revert to Defaults [1]. Maybe this helps.
[1]: https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
Best Regards, Riki
Kind regards, René
Thanks again René for your quick response.
Please see the attachment of what you advised me. Yes, the same problem also appears when I copy content from one file to another file.
I would like to tell you one more thing. If I do the same thing more than one time, the problem does not appear. For example, assuming I am at the last stage (stage 6) and now I erase content of the file. Now again start from stage 3 to stage 6. Now there is no annoying inverted commas. In the similar way, the problem can be resolved in copy and past case.
I am very afraid to reset everything as I have many customisations. I just work with this way around.
Best Regards, Riki
Hi Riki,
On 18 Sep 2015, at 13:02 , riki riki80@rediffmail.com wrote:
Thanks again René for your quick response.
Please see the attachment of what you advised me.
I do not see anything suspicious there.
Yes, the same problem also appears when I copy content from one file to another file.
I would like to tell you one more thing. If I do the same thing more than one time, the problem does not appear. For example, assuming I am at the last stage (stage 6) and now I erase content of the file. Now again start from stage 3 to stage 6. Now there is no annoying inverted commas. In the similar way, the problem can be resolved in copy and past case.
That is indeed very strange behaviour. Im afraid I do not know a solution to your problem in the moment. Maybe someone different can help?
I am very afraid to reset everything as I have many customisations. I just work with this way around.
Best Regards, Riki
Kind regards, René
Hi René,
Thanks for your kind support!!
It seems that the problem has been resolved (I checked few times). In my TextMate preference, earlier I set lineEnding = '\n' (please note inverted commas with \n). I just removed it and now everything works normally.
Best Regards, Riki