With 9491I am experiencing a problem that occurs when I switch from one document in a tab to another document in a tab. If I move the cursor to, say, line 196 in one document, then move to the document behind another tab, once I return to the document behind the first tab, the cursor is still on line 196 but the document scrolls (quickly) up about a page (around line 126 in the case I am looking at right now) so that the cursor is no longer in view.
I run TextMate on OS 10.9, this happens on LaTeX documents.
Is anyone else experiencing this?
Kyle
--------------------------------------
Kyle Johnson
Linguistics Department
University of Massachusetts
Amherst, MA 01003
Looking for help with language grammar. Coding in perl, and adding pod (documentation) within a codeblock, pod code gets automatically indented. Is there a way to have lines that begin with a = symbol auto- 'out-dent'? And then any subsequent lines, before a '=cut' line to be indented to match the previous line?
It's been a long time since I've looked at the language grammars in TM and, if they've changed in TM2 then I'm starting afresh. Any clues where to start would be gratefully received.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
TextMate version 2.0-alpha.9495 on OS X 10.9 (Mavericks)
Clean install, no customisations, using the version of Apache that comes with Mavericks.
Bundles > Apache > Open Config…
fails with the following:
> sh: : command not found
> Open Config…:40:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
> from Open Config…:40
Should I report this to the Apache bundle maintainer? If so, is this the right place to report an issue:
https://github.com/textmate/apache.tmbundle/issues
Thanks in advance.
Best, Darren
Hi,
I'm trying to symlink parts of my Application Support folder off into
Dropbox so I can share between machines.
In doing so, I noticed some rather odd behaviour. My belief was that
TextMate2 used the ~/Application Support/Avian folder for everything you
install and all it's deltas but that it still loads items from
~/Application Support/TextMate so that you can pull your old
bundles/plugins etc. from TextMate1.
However, there seem to be inconsistencies. When I double click a .tmbundle
file, this seems to be installed into the Avian folder but when I double
click a .tmplugin file this goes into the TextMate folder.
Am I completely misunderstanding how this stuff works? Which of the folders
is it I need to symlink out, or both to be able to share between machines?
Dom
I just installed 10.9 on my 15-inch, Mid 2010 MacBook Pro. gfxCardStatus is now
telling me that whenever Textmate (2.0-alpha.9489) is running, the system uses
the nVidia discrete graphics card. Textmate is listed in the Dependencies, so
it is definitely what is causing the switch. Textmate is also listed as an App
Using Significant Energy under the battery status menu.
I don't think this was happening before the upgrade to Mavericks, though it
might have come in with the latest build of TM and I just didn't notice.
Anybody else seen this?
After a few years using Textmate to type LaTeX, I updated to Textmate 2. I'm
happy with it but I still have a few problems.
The label completion ceased to work. I type \ref{} and press Command+Esc,
but instead of getting a list of labels I get the following error message on
a window:
Failure running “Label Based on Current Word / Selection…”.
Label Based on Current Word / Selection…:9: invalid regular expression;
there's no previous pattern, to which '{' would define cardinality at 1:
/{}/ (RegexpError)
Does this mean it hasn't found any labels? Of course, I'm testing this on a
file where (many) labels were defined.
BTW, completion for bibliographical labels (\cite{}) is working as before.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-label-completion-in-Textmate-2-…
Sent from the textmate users mailing list archive at Nabble.com.
I have found how to disable parent autocomplete, here the step:
- Bundles Menu -> Edit Bundles
- Select PHP -> Menu Actions -> Declarations -> Insert Call to Parent
- Remove check mark on Enable this item
- Save
Hello, I'am a new member.
I found a bug in version 2.0-alpha.9495 when I have the $parent variable and press tab after that, I get autocomplete I did not expect:
- When the $parent variable in the function in a class, such as the example below:
class myClass {
public function myFunction ($attr ='') {
$parent{tab}
}
}
Will produce:
class myClass {
public function myFunction ($attr ='') {
$parent::myFunction($attr);
}
}
- When the variable in the class, such as the example below:
class myClass {
public $parent{tab}
}
Will result in:
class myClass {
public $
}parent
- When the variable in the php file, not in the last line, such as the example below:
<?php
$parent{tab}
function myFunction () { }
?>
Will result in:
<?php
$
function myFunction () { }
?>parent
- When the variable below the function , such as the example below:
<?php
function myFunction () { }
$parent{tab}
?>
Will result in:
<?php
function myFunction () { }
$parent::myFunction();
?>
However, if $parent variable in the empty php file and the last line, will result in a tab character should be.
How can I disable the autocomplete function on the tab?
Thank you
Hi Everyone
Just started using TextMate 2 yesterday for coding websites (html5, css, php) and I really like it so far. It's running very stable on OS X mountain lion (not one crash yet). I'm sick of using Dreamweaver because it has bugs and other free titles like blueGriffon are still too buggy on the Mac. The find and replace window you guys built trashes dreamweaver's and runs really fast (except find/replace for "open files" is grayed out). Tabs are great, love the file browser as well. All in all it works fast, stable and looks great.
I'm not a programmer by trade so I hope to give you all some feedback coming from an artist's perspective as I work and see places for improvement.
So far I cannot get my PHP sites to preview. I get errors that the files can't be found even though they are there and if I preview in my browser using MAMP they work fine and also validate with using Validator S.A.C.
I also noticed that when adding php into parts of HTML the syntax highlighting is not consistent (see image below). This primarily happens when doing something like this:
<div class="headerBanner <?php echo $bannerClass; ?>">
<div class="bannerText"><p><?php echo $bannerText; ?></p></div>
</div>
Also, when using simple PHP stuff like this and not adding a semicolon at the end it also messes up the following syntax highlighting. As far as I know having the semicolon is optional in a case like this. See following images.
Some features I'd like to see added in the future:
It would be nice to have robust preferences/tool for creating syntax highlighting themes and an option to adjust the highlight color. The dark background themes you have are great but I would like to adjust them without having to get into coding since I'm not a programmer. Dreamweaver is pretty good at this although the preview window it gives you is way too small with too little example code. Something like that only done properly would be ideal, and the ability to save and pull up themes quickly would be nice such as in a Themes Panel.
Having icon/toolbar on the top and/or left of the UI would help for quick things, such as turning selection into a comment, uncommenting, folding, formatting, previewing, etc. Dreamweaver users will be familiar with this. For someone like me who uses so many applications, it's getting to the point where remembering more commands may cause cerebral hemorrhaging :P
Biggest thing I could use are code hints. With all the new HTML5 and CSS3 stuff sometimes it's hard to remember every property or value that is accepted. A simple little contextual list that pops up to the right of the code one is typing would be great. I'm sure this would be a bit involved if you haven't started building it but is so handy for web development. blueGriffon has this feature so there should be a way you can do this and avoid patent problems.
Would be great to be able to show favorites panel and the file browser simultaneously and be able to move their location and adjust the divider(s) between them. Ideally, the ability to move panels around allows each user to put things where they want them. The way QT does this is nice although not FOSS.
I would also like to see support for RTF text format. I'd rather use TextMate instead of Apple's TextEdit but it seems I can only make plain text files in TextMate. This would not be for crazy layout/design stuff, but just for taking notes and technical documents so I can use different fonts on my system and adjust font size and styling (B/I/U) on a per character/word/paragraph basis, add hyperlinks, and toss in the occasional image if needed. Basically what an email client allows you to do. If there is a way to do this now please let me know.
I would also like to see some additional formatting options for web development. For CSS control+Q works great, but control+alt+Q removes ALL the spaces. Having more control over this would help during different stages of a project so it's legible until I want to strip the spaces before pushing live. Dreamweaver let's you set various global preferences for CSS formatting like this. It would be nice to be able to adjust this in the preferences so I can get spaces in between properties for legibility:
example: html{height:100%;width:100%;} would become--> html { height:100%; width:100%; }
Also, for formatting (at least CSS), having options like this would help: space before comment, space after comment, one selector per line, one property per line. This way when formatting the file and not just a selection, things would be properly spaced apart, indented, etc. Either the prefs should allow for globally setting this, or variations on control+Q should do it (I also detest using the control key so maybe.
Something that would also be cool is to convert text to HTML ASCII and other methods of munging text and email addresses. I saw the ROT13 stuff but that might be more than needed for what I do in most cases and not sure how compatible it is (i.e. if a user has javascript disabled).
-----------------------
Here's a few more things to look at for future builds.
HTML and PHP do not auto-format properly. The HTML "Tidy" feature adds in doctype and extra tags I don't need because I'm using PHP and includes to build sites. There should be a way to format HTML and PHP (html files, php files with html, or php functions file) where it indents things properly, leaves spaces between different parts of the document that users can specify, and corrects orphaned or unclosed tags and such. If I try to control+Q on PHP functions it moves them all to the bottom of the document away from the comments and just jacks it all up. Same with control+alt+Q. Examples below of before and after.
When reformatting CSS with @font-face, control+alt+Q produces weird results and some strange looking white box symbol. control+Q works fine.
--------------------------
Anyway, hope some of the explanations will help. I'm not a programmer so the most I can do is make suggestions. If you'd like me to mockup any of my ideas as far as how they could work in a UI, let me know.
thanks
D
brieftrager(a)bigzite.com
I haven't been editing any PHP for several weeks so not sure when it
stopped working but I use the "out of the box" PHP bundle which has a
*doc* autocomplete
that now is giving the following error:
[image: Inline images 1]
As far as I know I haven't made any changes. Is there any way I can get
this back to working? I use this function all the time.
Ken