Hi Allan and others,
Lately there hasn't been any (public) development of TextMate.
So I'm wondering if there's an update to be expected anytime soon?
I'm currently expecting performance issues with tab switching, closing, and
opening (CMD+T) of files. Is this a known issue, or how can I investigate what
is causing this?
– Koen
Sent from [Nylas Pro](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-294f3511-5e38/0?redirect=https%3A%2F%2Fnylas.com%2Fnylas-
pro%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the most powerful
email app for work
I’ll try using another email address for TextMate. Although I don’t have trouble with any other emails.
⌃⇧⌘F
⌃⌥⌘G
⇧⌥⌘F
⇧⌥⌘G
We’ll see how this comes across in the two emails. And a copy bcc’d to other addresses on the same server.
I’m guessing not many have this problem. BTW I’m on 1and1..com
Greg
> On Feb 24, 2017, at 8:01 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 2
> Date: Fri, 24 Feb 2017 11:01:21 -0500
> From: Per Olofsson <magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>>
> To: textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>
> Subject: [TxMt] Re: textmate Digest, Vol 105, Issue 22
> Message-ID:
> <1487952081.2030038.891782960.07379631(a)webmail.messagingengine.com <mailto:1487952081.2030038.891782960.07379631@webmail.messagingengine.com>>
> Content-Type: text/plain; charset="utf-8"
>
> On Fri, Feb 24, 2017, at 10:52 AM, Greg wrote:
>
>> Why the question marks?
>
>
>
> Something between the mailing list and you appears to be having
> Unicode issues:
>
>
> http://lists.macromates.com/textmate/2017-February/040275.html <http://lists.macromates.com/textmate/2017-February/040275.html>
>
>
>
> --
>
> Per Olofsson
>
> magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>
>
>
>
>
>
I'm on my third attempt on switching from TM1, but this time it's
actually going pretty smooth. One thing has me stumped though, there's
no keyboard shortcut for Replace & Find? I checked the commit history
and it was reassigned to Replace in f39ac28, leaving Replace & Find
shortcutless. There doesn't seem to be many options left for F and G (is
there a way to bring up a list of all active bindings?), but adding one
for Replace & Find would make my life a lot easier.
Thanks,
--
Per Olofsson
magervalp(a)fastmail.fm
Why the question marks?
Greg
> On Feb 24, 2017, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 3
> Date: Fri, 24 Feb 2017 03:40:10 -0500
> From: Per Olofsson <magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>>
> To: textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>
> Subject: [TxMt] Re: Missing keyboard shortcut for Replace & Find
> Message-ID:
> <1487925610.1055419.891365096.02F0D25F(a)webmail.messagingengine.com <mailto:1487925610.1055419.891365096.02F0D25F@webmail.messagingengine.com>>
> Content-Type: text/plain; charset="utf-8"
>
> On Thu, Feb 23, 2017, at 10:36 PM, Allan Odgaard wrote:
>> On 23 Feb 2017, at 14:59, George McGinley Smith wrote:
>>
>>> It means please add it to TextMate ?
>>
>> But using what key equivalent?
>
> Is there a way of getting a definitive list of all active keyboard
> shortcuts? As far as I can tell the only free ones are:
>
> ???F
> ???G
> ???F
> ???G
>
> With my short fingers they're all two handed, but I find ???G is by far
> the easiest to type.
>
> Personally I use Replace & Find a lot more than I see myself using Find
> All, and I'd argue for giving back Replace & Find ??F and relegating
> Find All to something like ???F, but that's largely colored by my recent
> switch from TM1.
>
> --
> Per Olofsson
> magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>
>
Hi, all, if you are not interested in the Modelica system definition and
simulation language, you can stop here ;-)
I have been looking for a TextMate bundle that supported Modelica —see,
for instance, http://openmodelica.org—, and could not find one, but I found
a SublimeText version, and instructions on how to create a TextMate one.
If you are interested, you might want to look for
https://github.com/juandesant/Modelica.tmbundle
Cheers,
Juande.
--
Juande Santander-Vela
System Engineer (Science Data Processor/Telescope Manager)
Square Kilometre Array/SKA Organisation
Jodrell Bank Observatory, Lower Withington
Macclesfield SK11 9DL, United Kingdom
Hi
I have to use a new MacBook Pro at work (a mixed blessing). It has a virtual real ESC key. I find this really awkward when typing Actionscript and using autocomplete. I need a real key (for tactile feedback).
I would like to use the § key at the top left as it is nearest to where the ESC key should be.
I have found and looked at KeyBindings.dict but cannot work out which is the correct key mapping to edit to get what I need.
I can see "$\033" = "previousCompletion:" , but not anything for 'nextCompletion'.
Is it best to attempt this here or at Bundle level??
Thank-you for any ideas, please
Simon
Hey there,
I’m regularly experiencing a bug where TextMate seems to receive partial
focus. The title bar will appear to be selected, but the tabs never come
into focus.
Please see https://imgur.com/a/ePa4j for screenshots.
In this "half focus" mode I can select, enter and delete text, but not
select, copy, paste or do many other things. Cmd-c and Cmd-v both cause the
system bell to ding. I can switch focused TextMate windows, but the "half
focus" window title bar remains focused, and the tabs never get selected.
I still haven’t found a reliable way to reproduce this.
I have 2 theories about what is happening;
1) Its related to some ongoing process, such as a linter still running
in the background or the code highlighting for complex code. This seems
relevant because I work some days without encountering the issue, others I
run into it many times. Its possible that the offensive days I have more
windows, or a more difficult to parse file open.
2) Its related to multiple displays. I’m on a MBP15in from early 2013
with a display hooked up over thunderbolt or hdmi. It does seem that its
much easier to reproduce this bug with a second display.
Perhaps there’s a combination of 1 and 2?
For a while I was switching between apps to get "full focus"; Switch from
Chrome to TextMate (get "half focus"), switch to Finder, switch to Chrome,
switch to TextMate (get "full focus").
Seems that if no one else is having the issue, its probably #1 and related
to my custom bundles.
Whatever the cause, hiding TextMate with Cmd+H and restoring it seems to
cause "full focus" reliably.
Is this making sense? Is there anything I can do to help debug?
This weekend I’ll try reverting to defaults and see if that helps. In the
mean time, what do you all think?
Thanks a million,
Graham Heath
Hello *,
not sure if this is a TM problem/feature at all; but I found it there, so …
Using TM 2.0-rc.4 and Skim 1.4.26 (100) on El Capitán 10.11.6, I have an odd phenomenon concerning search strings: they persist over several programs.
Example: In TM, I type something into the “Find:” field of the search dialogue, say “test123”. Then I change to Skim, and typing Cmd-F there I see “test123”. Same effect in the other direction (search words from Skim appear in TM-search), same if I use one of the search dialogues in Skims side panes. Also same with the mail search in Apple Mail.
I find this “feature” highly annoying. Is this some new Finder thing (I skipped from 10.6.8 directly to 10.11.x) or is it some TM thing? How can I disable it?
Thanks for all hints!
-Moss-
--
Debugging? Klingons do not debug. Our software does not coddle the weak.
-- not by Peter Dyballa (as he vows)
Hello.
Does anybody experience random selections while clicking on tabs or other
textmate windows (like search dialog) on Sierra?
I can't find reproducible sequence of events, but it is quite annoying.
Sometimes when I click on other tab text in the current tab gets selected
as if shift-clicked somewhere above the current view area.
I’ve been working with some old html that is moving to a markdown-based site.
Textmate has a neat feature where if you drop an html file onto your markdown window, its contents are pasted… as markdown! (neat!).
Question/feature request:
1. Can we have a “convert from html" command in markdown?
2. Is there an option on the html processor to [give](normal) links instead of [bibliography][1]
[1] Style links?
Currently in TextMate, it’s possible to implement completion using a bundle command. This can be invoked using a keyboard shortcut. Some IDE’s have implemented something like dot completion, that is, when a dot is typed the dot will be inserted in the text and a completion list will be shown. Some editors will even show this completion list for most characters that are typed.
In TextMate it’s possible to set the key equivalent of a bundle command to a dot, the problem is that the dot will then not be inserted in the text. It’s also possible to manually write out a dot in the bundle command. The problem with that is that the dot is not actually in the text buffer when accessing it in the bundle command. This will most likely not work because whatever is parsing the source code to generate the completion expects the dot to actually be there.
Is this something that can be implemented in TextMate, perhaps as a semantic class? Ideally it should be configurable to support any character, ideally more than one. Example, for many languages a dot is what’s needed, but for the C, C++ and Objective-C an arrow (->) would be necessary as well. Just to be clear, I’m only talking about a new way to trigger a bundle command, not implementing the actually completion.
--
/Jacob Carlborg
Hi,
The Hyperlink helper: "Lookup Word / Selection on Wikipedia and link" appears to be broken?
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Consc… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Cons… (RuntimeError)
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open'
from Lookup Selection on Wikipedia and link:19:in `getWikiEntries'
from Lookup Selection on Wikipedia and link:31:in `getWikiDef'
from Lookup Selection on Wikipedia and link:37
I'm not sure if this is a known issue, or if it is only Python, but the Jump to Symbol window has trouble properly displaying Python functions & methods that have multi-line parameter lists.
A function heading like this
def makeWeek(geo=AMERICAS,
post_by=STAFF_TYPE,
staff_types=[],
start=S_0630_AM,
end=E_0730_PM
):
Shows up in the Jump to Symbol window's table as
def makeWeek(geo=AMERICAS, post_by=STAFF_TYPE...)
Aligning the parameter names' leading edges with the opening parenthesis tends to work better with Python linters in this situation, but kind poorly for the Jump to Symbol window.
My way to quickly ge to the bottom of a document is to select it all and then right-arrow to place the cursor at the last character in the document.
For some time now, this doesn’t always work: Often one ends up some-way down, but not at the bottom. Repeating 2-4 times needed to get to the bottom.
It seems to occur when line wrap is on, and the document contains long lines (i.e., text paragraphs)
Perhaps something is a bit off in the algorithm for scrolling the page when lines are wrapping?
Best, tim
Hi all -
I keep a lot of functions folded in my normal workflow. This usually works fine, but when a non-TM program changes a file, (usually switching branches in Git from a client or command line) the folding settings aren't updated and I end up with strange folding in the middle of a line that may throw off everything in the file.
This isn't a huge problem (and I bet if I always used TM's source control plugin, this would be handled automatically, right?) but I wonder if there's any way to just tell TM "hey, forget all the folding in this file". One might think that cmd-opt-0 (Un/fold All Levels) would do this, but it seems to toggle all the folds without scanning the syntax to see if the fold locations are valid. Anybody know how to just delete all folding for a given file? As it is, I have to scan through big files, looking for hidden '...' glyphs.
I see this most often in Python, which has weird folding behavior, but I've also seen it in Objective C & Javascript, which should have much simpler folding grammars since they're {}-delimited.
Cheers,
Evan
Hi,
For creating web templates I use Xdebug. In Xdebug you can set
`txmt://open/?` in order to open the file with the error in TM. On previous
versions of Safari (< 10.0.2) TM opens without any problems. But now (>
10.0.2) Safari every time ask if it may open TM: see screenshot:
http://feek.d.pr/V1pH
Is there a way to disable this pop-up? I cannot find any settings in Safari.
Or is it maybe related to a "unsigned developer"?
how to reproduce: just paste `txmt://open/` into Safari.
I use TM 2.0-rc.4 on OSX 10.11.6
Regards,
Feek
--
View this message in context: http://textmate.1073791.n5.nabble.com/Safari-10-popup-when-opening-a-txmt-o…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
I have found that I had to finally learn to create Commands in a TM Bundle to move beyond what snippets alone can do (even though they have such a brilliantly simple syntax...)
Is there any canonical listing of values to use Semantic Class hooks?
Also I couldn't find it in the docs, but realized by reading other examples, the way to get the whole document text reliably is to read stdin in a script, then write to stdout.
It might be really great stuff to get documented for everyone.
Finally, what is the recommended flow for managing & sharing bundles?
Certainly, putting changes into Github would be ideal where possible.
But here are two use cases I have.
In my workplace we have stuff we cannot share outside, but we would like to share and maintain a group repo internally to grow up some TM Bundles.
I also sometimes need to work on multiple systems.
I'd like to understand the best way to sync or centralize and update bundles.
What are the best practices with this?
Hi there, I’m currently working on updating an old plugin (EditorConfig — https://github.com/mr0grog/editorconfig-textmate) and it needs to be able to trim the trailing whitespace from lines. I’m currently doing this by getting the OakDocument’s `content` property, editing it, and setting it back, but that can cause selections to move around (not really surprising).
To address selections, the most straightforward method I could find was to use `OakTextView accessibilityAttributeValue:
NSAccessibilitySelectedTextRangesAttribute` (and the associated setter), like so:
NSString *content = [document performSelector:@selector(content)];
NSMutableArray<NSValue *> *selections =
[textView accessibilityAttributeValue:NSAccessibilitySelectedTextRangesAttribute];
//
// do some stuff to manipulate `content` and `selections` here...
//
[document performSelector:@selector(setContent:) withObject:content];
[textView accessibilitySetValue:selections forAttribute:NSAccessibilitySelectedTextRangesAttribute];
This works great with normal selections, but I had expected column selections to show up as multiple selections here. However, they show up as a single contiguous selection from the starting column on the first row of the selection to the ending column on the last row of the selection. That means that, by the end of this operation, any column selections become normal contiguous text selections.
Is there any straightforward way to get and set column selections from a plugin, where I can’t easily mess with the C++ objects? Is there a better way I should be approaching this whole operation in the first place? (I recognize that my approach above might not be great, but couldn’t find anything else workable; I tried poking at OakTextView’s `filterDocumentThroughCommand` method, but had trouble with it since it requires arguments that are C++ types).
Thanks for any advice,
-Rob
Hi all,
I wished to enable spell checking for comments in source languages.
I edited the settings items in the source bundle, enabling spelling for my scope.
This worked (yay), but I realised it would be better to stash this in my private bundle, not fork the main source.tmbundle.
So I reverted the scope as a first step to making a new settings item. The bundle is now marked as delta, and that isn’t right.
SO I deleted the is delta key. That was a mistake: Now I have an item labeled “untitled” that is empty, and no spellcheck enable setting item.
Try reinstating the delta key, and setting to false. No worky.
Try reverting the bundle: you can’t unselect it.
Deleted the bundle and installed from in TM2: still has my untitled item and no. Must be buried in an invisible cache..? Where…
Curse :-)
Email list: How do you really revert a core bundle to base?
tim
PS: It would be GREAT to have a revert to default right-click action for TM bundles, which cleared invisible caches etc… Or make the grayed out source bundle tick function as a togglle; click it, and it throws a dialog asking “really revert to base source bundle (bundle cannot be deactivated, only reverted)?” then does that.
PS: Feel free to improve this stack overflow answer so others can share this knowledge.
http://stackoverflow.com/questions/41565216/how-do-i-get-textmate-2-to-enab…
PPS: bit of a hot mess of 10-year old TM1 info and partial TM2 info on the interweb at present: we should try and clean up where possible now everyone is moving to TM2 beta
t
>> Prerequisites listed include Boost.
>>
>> My question is:
>> What is the recommended way to build/install Boost for TextMate
>> building?
>
> Using homebrew is the easiest, this should take care of all
> prerequisites:
>
> brew install ragel boost multimarkdown hg ninja capnp
> google-sparsehash libressl
>
>> Using Homebrew, boost has additional options and they seem possibly
>> valuable but also potentially problematic.
>
> TextMate only use a few header-only libraries from boost, so I don?t
> think any of the options have any effect on TextMate.
Ah. I didn't even think to survey the header includes.
Thanks it's exactly what I wanted to know!
I might run it through Doxygen to get a list easily going forward.
Thanks!
JJ
Hi,
Since yesterday evening, pasting to pastie.org <http://pastie.org/> does not work anymore.
It is not the usual error 503 service unavailable, but there are 2 possible errors:
There was a problem pasting your text, pastie.org responded with 522 Origin Connection Time-out
There was a problem pasting your text, pastie.org responded with 400 Bad Request
Am I the only one? Or did pastie change their endpoint?
Thanks,
Louis
Hi,
There are quite some commands that when invoked result in an error. The error
itself is correct in a way, but most of the time not very helpful, and I think
they can be avoided by adding some preconditions to these commands.
Take for example "Browse Annotated File (Blame)"; when running without having
a file open or selected in the filebrowser, it displays the following error:

Or the scm gutter; when deleting or renaming a folder outside of TextMate, but
which is currently open in TextMate, then after deleting closing one of the
tabs displays the following error:

I think all these kinds of errors have to be solved at bundle level, but like
to hear some opinions before I start opening pull requests.
– Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-aa207fc5-447b/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.
Prerequisites listed include Boost.
My question is:
What is the recommended way to build/install Boost for TextMate building?
Using Homebrew, boost has additional options and they seem possibly valuable but also potentially problematic.
Sadly, Boost doesn't ship in parts, even though it can be used linked to in independent parts (mostly).
brew says this about Boost:
$ brew info boost
boost: stable 1.63.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c
==> Requirements
Optional: mpi
==> Options
--c++11
Build using C++11 mode
--universal
Build a universal binary
--with-icu4c
Build regexp engine with icu support
--with-mpi
Build with MPI support
--without-single
Disable building single-threading variant
--without-static
Disable building static library variant
--HEAD
Install HEAD version
==> Caveats
Building of Boost.Log is disabled because it requires newer GCC or Clang.
I tried:
brew install --c++11 --with-icu4c --with-mpi boost
I know macOS has its own ICU, but I also know Apple prefers people build against their own ICU if they need direct ICU support.
MPI wanted to build its own gcc and then I got a warning about gcc's dependency on a different C++ being a potential issue using boost with clang.
(seems insane to me)
"Warning: boost dependency gcc was built with a different C++ standard library (libstdc++ from clang). This may cause problems at runtime."
MPI adds these dependencies:
gmp, mpfr, libmpc, isl, gcc