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:
![](cid:bizfjhc20jgghl4kq8vimca6b)
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:
![](cid:2dc5v706024puwol0xxvkwd0w)
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
Bundle commands support autoRefresh, but the option isn't exposed in the
bundle editor.
Is this a known issue or an intentional limitation of the bundle editor?
– Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-1313e4da-5a74/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.
Hi guys,
I guess this is primarily of interest to Rene Schwaiger. A long time ago we discussed LaTeX Tidy, \labels and code folding. I love everything about LaTex Tidy except for the fact that it puts \labels on a separate line to \begin or \end, so when I use code folding all I see is a list of \begins, \ends, \sections and the like, without a \label in sight. Rene pointed me to latextidy.pl, which was the help I needed, and I hacked the file so the code now ends
$string =~ s/({[^}]*}[ \t]*)(\n[ \t]*)((\[[^\]]*\][ \t]*)*(\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*)*)\n?[ \t]*/$1$3$2/mg;
$string =~ s/((\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*)+)(\n[ \t]*)(\\end{[^}]*})/$4$1$5/mg;
$string =~ s/(\\section.*(\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*))(\S)/$1\n$4/mg;
$string =~ s/(?<=\S)[ \t]*(?:\n[ \t]*){0,2}(\\section)/\n\n\n$1/mg;
$string =~ s/(?<=\S)[ \t]*(?:\n[ \t]*){0,1}(\\subsection)/\n\n$1/mg;
print $string;
I’ve been using this for a while now and it has proved fairly reliable. I’ve allowed for optional arguments on \labels, labels pinned to \end (for captioned environments), and insert blank lines before \sections and \subsections. Now when I code fold I see not just the environments but their \labels, which mean something to me.
This message is intended in the spirit of giving back. Please feel free to ignore this hack, or try it out, change it, whatever.
Regards
Robert Milton
Hey
I'm occasionally experiencing smaller performance hickups in TM. Writing a
line of code, there's a short delay before the input appears; delay is maybe
in the range of half a second. It's infrequent enough not to be really
bothersome, but ideally, I'd like to know the cause.
It could in fact be some (too expensive) regexes I defined in my customized
language grammars, but I can't say for sure right now.
That's why I was wondering: is there a relatively simple way I can profile
TM/TM processes, in order to find out if it is in fact my own grammar rules
causing these hickups, or if it's something else?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Occasional-performance-hickups-when-e…
Sent from the textmate users mailing list archive at Nabble.com.