With TM2 nice and stable at release candidate 23, and with a major feature of TM being bundles of user-built snippets and commands, it would be much appreciated to have a UI for editing bundles.
Just supporting
1. Drag snippets between existing folders and
2. Right click “create new folder”
Alongside the existing make new, copy UUID and show in Finder features these two would be a major advance in usability.
Even if it was restricted to user-managed bundles (if the concern is to much product support from breaking updates to centrally managed bundles in the first instance).
Hi,
Programming for R (stats package) the user often wants to select a whole function (usually in order to execute it in R)
my fun <- function(param,..){
# your code
}
cmd-shift-B will select the next-out level of brackets, and, if repeated, will eventually select the outer-most brackets. But to execute the function, one needs to select the whole of that first line of the function definition.
Is there a command to do that?
the command would function like repeated executions of cmd-shift-B until the there is no outer bracket to find, then expand the selection to include ^ of the first line
Is it possible to get a TextMate 1.5 syntax coloring theme into TextMate 2.0, and if so, how?
Jerry
P.S. Just wondering why there is no theme editor in TM2.
Hello,
My end goal is that I want to tell textmate to ignore some directories (or include) when finding files using “Open Quickly”
I skimmed the source code and saw that I might be able to use some kind of settings:
static std::map<std::string, NSString*> const map = {
{ kSettingsExcludeDirectoriesInFileChooserKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeDirectoriesKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeFilesInFileChooserKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeFilesKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeInFileChooserKey, kSearchExcludeGlobsKey },
{ kSettingsExcludeKey, kSearchExcludeGlobsKey },
{ kSettingsBinaryKey, kSearchExcludeGlobsKey },
{ kSettingsIncludeDirectoriesKey, kSearchDirectoryGlobsKey },
{ kSettingsIncludeFilesInFileChooserKey, kSearchFileGlobsKey },
{ kSettingsIncludeFilesKey, kSearchFileGlobsKey },
{ kSettingsIncludeInFileChooserKey, kSearchGlobsKey },
{ kSettingsIncludeKey, kSearchGlobsKey },
};
However, I don’t know where I would set these. I believe there may me some kind of file I can place at my project root to define these, but I’m unable to determine what the name of this file should be or the format of the file.
Any help would be appreciated.
Thanks!
1. Use app "Check for Upgrade" to upgrade to RC 20/21/22, Cmd+F to bring up
Find dialog window, unable to display/type non-English characters (such as
Chinese, Japanese) in Find and Replace text box, have to un-focus input
area to show the characters. No problem for English characters.
2. Manually upgrade by downloading RC 20/21/22 from Github, and replace
existing TextMate.app in Applications. Cmd+F (or select Find... from Edit
menu) will not bring Find dialog window.
Rolled back to RC 19, solved the problem.
--
Sent from my mobile. Ignore the typos unless they're funny.
--
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi all,
There is some problems with expressions in f-strings in the Python bundle.
One is that escape-completion does not work inside them at all.
The other is that syntax highlighting often fails. For example for these:
f"{2 * 37}"
f'{person["name"]}'
f"{'Eric Idle'}"
In neither of these f-strings the braces or expressions are highlighted.
Does anybody know how to fix these? I guess it’s just some small adjustments to the syntax bundle but it’s a rather daunting list of regular expressions in there.
F-strings are a great enhancement to Python and it could be great to have them probably supported.
I have created issues on https://github.com/textmate/python.tmbundle/issues/ for both problems.
Best regards,
Tuk
I have a bundle for linting JavaScript and I'm having trouble figuring out
how to handle JavaScript embedded in HTML. Currently, I'm expecting that
the `source.js` refers to a full file. This creates an issue since
`source.js` is also part of the scope when JavaScript is embedded in HTML,
causing my bundle to lint a full HTML document. Is there a way to configure
the bundle to ignore embedded JavaScript, or to dynamically switch to
linting only the embedded JavaScript?
This the bundle: https://github.com/ryanfitzer/eslint.tmbundle
Hi All,
Sorry for troubling you.
I am trying to build TextMate from source, since I would like to add couple of features, key bindings etc.
I have done literally everything as specified on this page:
https://github.com/textmate/textmate#readme
I have downloaded latest XCode online tools on my latest patched version of macOS Mojave.
Also, I see that Apple has upgraded my Ruby to the version 2.3.
However, anytime I run:
./configure && ninja
I get the following output:
———————————
rm /Users/sinisa/razno/zez/textmate/Frameworks/SoftwareUpdate/fixtures/secret.pem
bin/gen_build:487:in `rename': No such file or directory @ rb_file_s_rename - (build.ninja~, build.ninja) (Errno::ENOENT)
from bin/gen_build:487:in `atomic_write'
from bin/gen_build:567:in `block in <main>'
from bin/gen_build:538:in `chdir'
from bin/gen_build:538:in `<main>'
./configure: line 99: 19128 Segmentation fault: 11 ninja Frameworks/encoding/src/frequencies.capnp.h
./configure: line 100: 19179 Segmentation fault: 11 ninja Frameworks/plist/src/cache.capnp.h
bin/create_default_bundles_tbz: line 21: 19193 Segmentation fault: 11 ninja "$bl”
—————————
What should I do ????
Many, many thanks in advance …….
--
Sincerely,
--
Sinisa Milivojevic <sinisa(a)cytanet.com.cy>
MySQL Developer
Larnaca, Republic of Cyprus
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ /
/ /|_/ / // /\ \/ /_/ / /__
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.com
Hi All,
I’m currently preparing my new machine to replace my old MacBook Air 2015 as a development machine. My new machine is a Mac Mini 2018.
I’m unable to save files in TextMate (the editor I do all my code in). Got the following error :
The document “untitled.txt” could not be saved
Please check console output for reason.
I don’t see nothing special in the console log. I tried all the steps in https://alexwlchan.net/2016/05/os-x-hates-textmate/ to no avail.
Anyone has any idea?
Thanks,
Yann Bourdeau
yann.bourdeau(a)noviflow.com
Hi,
Please forget about my previous mail. I have solved my issue after finding it was working on another user account.
I had a bundle modification on callback.document.Export instead of callback.document.will-save to trim the trailing white space.
Thanks
Yann
Hi All,
I am looking for someone that can merge the pull request below.
The grammars of Textmate is used by Github.
Sadly the grammar for the Scheme language colors square brackets red (as an
error),
and there are lots of Scheme implementations that allow squares.
That makes it jarring to read source files on Github.
A kind soul has found the error, fixed it and submitted a pull request.
Unfortunately the grammars don't live in the main Textmate repo,
so pull request are easily missed. This one is a couple of years old.
It would be greatly appreciated by the Scheme community, if this could be
merged.
Thanks in advance.
https://github.com/textmate/scheme.tmbundle/pull/9
/Jens Axel Søgaard
Default is "ruby 2.3.7p456"
>
> Today's Topics:
>
> 1. Re: Bundle support plist broken on Mojave (Philippe Huibonhoa)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Jan 2019 20:54:44 -0800
> From: Philippe Huibonhoa <phuibonhoa(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Bundle support plist broken on Mojave
> Message-ID:
> <CABF6MVzbki=T+-DZ18Sg1AmJA+K2Jw7=WoYHDG+buNo+H9jHOg(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Does Mojave still have Ruby 1.8 available? I have bundle files
> referencing /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> but that directory does not exist. I'm not sure how to proceed, since this
> does break some functionality.
>
> On Sat, Dec 15, 2018 at 12:29 AM Jacob Carlborg <doob(a)me.com> wrote:
>
>> On 15 Dec 2018, at 09:13, Allan Odgaard <mailinglist(a)textmate.org> wrote:
>>
>> The problem is that many bundle commands need ruby 1.8, so the bundle
>> support code needs to remain compatible with 1.8 as well.
>>
>> This is support code has been written by a dozen different people over
>> several years, I have no plans of rewriting it all to be compatible with
>> both ruby 1.8 and 2.x, which in itself is not a fun excercise, not even
>> sure we can make the plist extension compatible with both versions of ruby
>> without switching to a version written entirely in ruby.
>>
>> Understandable. I?ve been wanting to completely re-implement the support
>> code with support for 2.0 now for a while. But I?ve never prioritized it.
>>
>> My advice: If you want to use ruby 2.x for your custom commands, don?t use
>> the support code.
>>
>> Yeah, in fact, most of my commands are written in Ruby 2.0 but one of them
>> is using Ruby 1.8 to be able to use the completion window.
>>
>> In this case I see now that TextMate.detach is simple enough to copy to
>> the bundle and remove the dependency on TextMate::UI.
>>
>> In retrospect we probably shouldn?t have made a ?shared support?
>> directory, at least not without much much stricter discipline, as now we
>> have a ton of legacy stuff that is pretty difficult to get rid of, because
>> we have no idea about which third party bundles rely on it.
>>
>> The support code, at least the Ruby code, could be implemented as a
>> separate gem. Then it could be versioned like any other gem. I have a
>> bundle [1] where the whole Support directory is organized as a Ruby gem. It
>> uses Bundler and several gems as dependencies. The gems are bundled
>> directly in the Support directory and included in the Git repository. This
>> works out quite nicely.
>>
>> [1] https://github.com/jacob-carlborg/GitLab.tmbundle/tree/master/Support
>>
>> --
>> /Jacob Carlborg
>>
Hi,
a simple question, but I cannot find ;)
When moving your cursor via arrow keys over a (HTML) tag, the corresponding
beginning or ending tag is highlighted in yellow! So I assumed TM is able to
select and / or change the tags at once.
But unfortunately I cannot find the command. Hope someone can help me.
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hello
I am new to Textmate and grammars syntax but i want to fix a bug with a grammar used by GitHub for highlighting of SaltStack files.
The grammar in question is this one ( https://github.com/saltstack/atom-salt/blob/master/grammars/yaml.cson ) and the problem is comments that span multiple lines don't get handled correctly so i fixed the regexp but the more i looked at the problem i don't think any comments are really being handled as the grammar expects because of an "include" that's overriding the local comment definition.
As i said, i'm no Textmate/Grammar expert but with some fumbling around i think the problem occurs due to a repository entry that calls:
{
'include': 'source.python'
}
This external grammar file has its own agenda when it comes to comments and lines matching the "#" type pattern. I think this included grammar is taking priority over the patterns/captures defined in the above .cson file. I believe it might be this pattern ( https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmL… ).
If i comment/delete the 'include': 'source.python' from the "jinja-control" repository then my regexp change works and comments look as expected.. but obviously I've crippled the other highlighting brought with the python include.
So at this point i'm stuck. I have no idea how the order or precedence works and how i should resolve this conflict ?
Can someone explain please why the include is doing this and whats the way for me to ensure my local definitions to be enforced ? I tried moving my pattern to the top of the .cson, tried to make the regexp more explicit and increase the name depth in case any of those were the magic but no luck.
thank you.
Hello everyone,
I would like to start contributing to TextMate development. Are there any guidelines that I can use to get familiar with the codebase or where would be a good starting point for making sense of the codebase, since it is fairly mature.
Best,
Farhan
In rc.22 have we removed the document proxy icon so classically part of document based apps?
That's always been one of the most Mac things and TM's support of it has always been a blessing.
Also, looks like Bundle Editor window's drawer is a victim of deprecation with dark mode ...
... time to move to split views ¯\_(ツ)_/¯
The Git commit dialog is slightly broken in the latest release, 2.0-rc.22. In the table view showing all change or untraced files it says “Button” on each line between the checkbox and the icon. I’ve attached a screen shot below. This occurs on macOS High Sierra but now on Mojave.
--
/Jacob Carlborg
With the latest update of TextMate, 2.0-rc.22, the text color of a selected item in the Open Quickly dialog is black. I guess it’s supposed to be white. This makes it a bit difficult to read on the blue background.
Running on macOS High Sierra. It has the correct color on Mojave, both in light and dark mode.
--
/Jacob Carlborg
Hi. Let's say I have 3 commands and they all use `callback.document.will-save` as semantic class. What is the order of execution? or How can I set the order? In my experience, the last created command runs first. I'm not quite sure about it. I've been trying to improve my Python formatter bundle. I have some tasks to do in order. Couldn't figure out exactly the execution order of it.
Thanks
---
Uğur "vigo" Özyılmazel
https://github.com/vigohttps://gitbook.com/@vigohttp://ugur.ozyilmazel.com | @vigobronx
http://devpod.org | @podcastmaster
http://gelistiriciyiz.biz | @gelistiriciyiz
On Wed, Nov 28, 2018 at 5:00 AM <textmate-request(a)lists.macromates.com>
wrote:
> I do a lot of find using the "In Folder" setting.
>
> The only easy way to bring it to the from is cmd-F, but this re-sets the
> "In: <where>" dropping down to the default, which is document.
>
Does cmd-shift-F work for you? That should set the window to "In:
{Project}". There is a Find in Folder menu command, as well, which doesn't
have a default keybinding, but that's easy to change in the Keyboard System
Preferences.
Today I noticed that clicking the SCM icon in the bottom right of the
file browser no longer does anything (it used to filter the view to
include only those files with a specific SCM status). Maybe this is
related to the recent changes in the file browser?
Everything else regarding SCM (using Git in my case) still works as
expected, including the SCM badges on the icons in the file browser.
Using TextMate 2.0-rc.14
Cheers,
Stefan
I’ve noticed in some cases the file browser doesn’t show the files within a folder when that folder is expanded. Navigating inside that folder shows the files and when I navigate back the files are visible again.
--
/Jacob Carlborg
Greetings from the South :-)-O,
I occasionally want to pipe JSON (or XML, or other formats) like
csvjson file.csv | mate -
It does display the file but as plain text.
How can I make TextMate2 figure this out by itself? Or from the command
line (mate -t JSON - does no do that)? Or where can I read this up?
greetings, el
--
Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar)
el(a)lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 /
Bachbrecht, Namibia ;____/
The rc.19 update reset quite a few of the TextMate preferences. For example:
* All variables I’ve added are gone
* The side the file browser is shown on reset
* Same with the command output window
* TextMate thinks the shell support is not installed
These are a few things I’ve just noticed.
--
/Jacob Carlborg
TextMate version: 2.0-rc.15
macOS Sierra: 10.12.6 (I also see this behavior on Mohave)
List of source files overlap the title bar when scrolled:
[image: Screenshot 2018-11-13 12.10.34.png]
(Sorry if this is a duplicate. My last attempt to send seemed to fail, but I can’t be sure it didn’t get through.)
In recent versions of various Apple programs, including Safari, Preview and iBooks, when you go into full screen mode, the sidebar hides itself until you roll over the edge of the screen with the cursor. I sometimes use Textmate on a laptop with a relatively small screen, and increasingly use it in split-view mode on my iMac, and in those cases things get a bit cramped, so it would be nice if the file browser in Textmate behaved in the same way.
I had thought that I remembered when the Apple programs started doing this that I read about it being trivial to implement if you were using auto-layout, but I’ve Googled it and done a cursory search in the developer docs, and it seems I imagined this, so perhaps this is an unreasonable request, in which case, dismiss it from your minds.
And yes, I know that lots of people really hate this behaviour, so if it could be implemented at all, it would need to be one of those things you need to use defaults write to enable.
Thanks for considering my suggestion.
Nigel
(I’m also sorry if I’ve asked this before, put it down to failing memory in old age if I have.)
I’ve created a new theme by adopting the theme Mac Classic that is shipped with TextMate. The original Mac Classic is a light theme, this new theme is adopted for the dark mode setting in macOS Mojave.
Since I’m not a designer I took an engineering approach to creating this theme. I took the basic colors for background, foreground and similar from Xcode. Then I wrote a script that parses the Mac Classic theme file, extracts the colors, converts the colors to HSB and adjusts the saturation and brightness. Then it writes the new colors back to an a new file. I then did some tweaks manually for some colors. I think it turned out pretty good. The theme is available here [1].
[1] https://github.com/jacob-carlborg/mac-classic-dark
--
/Jacob Carlborg
The rc.15 build has the file bowser with new source list style. The color of a selected item in the file browser can be quite difficult to see sometimes (depending on what’s behind the window). I’ve included three screen shots, from TextMate, Xcode and Finder. The location of the selection was the same for all application (the same thing behind the window). What’s behind the window is my desktop with a blue color. In the TextMate screen shot it’s the “package.d” file that is selected.
This is on macOS 10.13.
--
/Jacob Carlborg
By default TextMate won’t show hidden files (files starting with a dot) in the file browser. It’s possible to configure TextMate to show some of these files anyway, I’ve done that for files like .travis.yml. When doing a project wide search it won’t search those files, even though they’re visible in the file browser. Is that a bug, missing feature or an additional setting?
--
/Jacob Carlborg
I noticed that the bottom right and left corners of the TextMate main window is not rounded any more. I think this happened in the rc.14 release. The problem occurs on High Sierra but not on Mojave.
--
/Jacob Carlborg
An idea for a minor feature would be to be able to set a light and dark editor theme. When the OS appearance change it would change to a matching theme for the editor.
This was just and idea I had, would be pretty low on the priority list.
--
/Jacob Carlborg
I just updated to TextMate rc.14, which contains the overhauled file browser. I would really like if the "source list” style could be brought back.
--
/Jacob Carlborg
Is there a way to make * include hidden files in Find All dialog?
Currently I have to use {.*,*} to get the needed result but it's not very convenient to type that every time I do a search.
Another nice little tweak would be to search * instead of using the last glob pattern when you leave the glob field empty. And even better would be to make this default pattern configurable. That way I could've just emptied the glob field when I want to search {.*,*}
Thanks.
Sometimes when I'm working on a project and jump between branches TM suddenly stops scrolling to the current file when I press "Go to current file" (⌃⌘R) even though the file gets selected.
This is happening for a few months already. I usually fix this by restarting TM, but it's not the best workaround since I lose all the undo history.
Am I the only one getting this? Or I'm just the only one getting annoyed by this?
Hi,
This is starting to bug me. I think this started after I tried using the CTags bundle, but a while back the symbol selector on the bottom-right of each window is populated with the full text of the current file instead of the actual syntactic symbols. Any pointers on how to fix this?
Thanks
I recently read this post [1] where it shows how to define a regular expression (using the PCRE) syntax that looks very much like a proper grammar. A reduced example for the post looks like this:
/
(?(DEFINE)
(?<addr_spec> (?&local_part) @ (?&domain) )
(?<local_part> (?&dot_atom) | (?"ed_string) | (?&obs_local_part) )
(?<domain> (?&dot_atom) | (?&domain_literal) | (?&obs_domain) )
)
^(?&addr_spec)$
/x
The three capture groups “addr_spec”, “local_part” and “domain” would be the grammar rules. It uses the (?&name) syntax to refer to another subgroup. TextMate does not support that syntax but supports the following syntax: \g<name>, which the documentation refers to as Subexp call [2]. This syntax seems to have the same semantics. (DEFINE) is something that seems to be PCRE specific and basically means that the following patterns will not be tried to match. It basically gives a place to define subpatterns. I didn’t find anything corresponding in the TextMate regular expression syntax but defining an optional group can be used as a workaround.
Here’s an example where I tried this technique to match a module declaration in the D language:
(?:
(?<module_declaration>(?<module>module)\s+\g<module_fully_qualified_name>\s*;)
(?<module_fully_qualified_name>\g<module_name>|\g<packages>\.\g<module_name>)
(?<module_name>\g<identifier>)
(?<packages>\g<package_name>|\g<package_name>\.\g<packages>)
(?<package_name>\g<identifier>)
(?<identifier>\w+)
)?
\g<module_declaration>
This is exactly according to the specified grammar [3] and it seems to be working as expected. Not sure if the optional group workaround causes some performance implications.
This technique seems like it could be a viable alternative to supporting variables in the TextMate grammar as has been discussed before. What’s missing from this to make it really useful would be something like (DEFINE) in PCRE and a place in the TextMate grammar to place generic patterns used in multiple rules, like a pattern for identifiers.
[1] https://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.ht… <https://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.ht…>
[2] https://macromates.com/manual/en/regular_expressions <https://macromates.com/manual/en/regular_expressions>
[3] https://dlang.org/spec/grammar.html#ModuleDeclaration
--
/Jacob Carlborg
I've used Whitesmith bracing style for *decades*, and had it kinda-sorta working in TM 1.5.x, though not perfectly. Now I've lost those old settings and for the life of me can't figure out how to get it even close in 2.0. There's clearly something fundamental that I'm missing, but I've spent hours on this off and on over the past few months, and I'm guessing that someone who really understands the rules (and regex) better than I, could get me on the right path in short order. I'd definitely appreciate it.
For those (unfortunate souls) who are not familiar with Whitesmith:
http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style
Also, just as a general suggestion, it seems like it would be really helpful to have just a handful of "packaged" example indentation rules for the small handful of common bracing styles, i.e. Allman, K&R, Whitesmith, maybe Gnu. Of course it wouldn't be perfect for everyone, but it could be really helpful as a starting point. If you know of such a set of examples, please point me to them (yes, I've looked). Thanks!
Dear all,
Since I moved to a new laptop, I noticed a strange behavior with text-selection in TextMate version 2.0-rc.4 (on Mac OS 10.12.6).
Whenever I have a a text-file open in TextMate 2 and click outside of the window (to activate a terminal window, switch to another program, click on a menu item etc.), this ‘click’ will change my selection in the currently opened file.
So, instead of directly deactivating the window, it still takes the action as input for text-selection.
This is of course very annoying, as it constantly changes my selected text / moves the active line etc. without my intention.
It does not always happen, and does not replicate consistently.
Somehow it seems to depend on the time between my last action in the active textmate window and clicking outside of the textmate window.
Is this known behavior and is there a way to fix it?
Thank you!
I use Textmate to prepare material for classes I teach. Most of what I do
is to write explations formatted with Github version Markdown. When OS 10
came out the formatting failed to produce the styled image. Has anyone else
had this problem?
—Lewy
--
Sent from my icebreaker in the Bering Strait
I've been trying the public beta of macOS Mojave and noticed there are two issues with colors in TextMate.
* With a window open, and the File Browser visible, the color of the vertical line on the left side of the gutter view is darker than the one of the right side. On High Sierra these have the same color.
* When viewing a autocomplete popup/window from a bundle, that is a bundle that is using "TextMate::UI.complete". When selecting an item/row the foreground color doesn't change to white. This makes it a bit difficult to read the text. The same thing happens when selecting an item/row in the bundle editor.
These issues both appear in light and dark mode.
Since the application looks different compared to High Sierra, won't that be considered a bug in the operating system?
--
/Jacob Carlborg
HI:
I installed textmate a few evenings ago and it appeared to be working, but then I went to Finder to preview some Matlab files (.m) and when I clicked on them in the Finder Window Preview Panel (not to be confused with Preview the app), it shows the text that is in the file, but NOT like it used to. Instead of the normal OS-X white background and black text, it shows the text in the same colors and format as TextMate! (Black background, white and drab brown and green text for quoted text etc. ).
How did this happen, in that all I did was install TextMate from the download link.
I’m not feeling a warm fuzzy when an application I install that modifies an operating system function and appearance, when I’m not thinking it should.
Thanks!
Herbert U. Fluhler
256-651-5673 [C]
The feature of wrapping comments (even when line wrap is off) doesn’t work well with my work flow.
Suggestion: Add a preference to not do this.
Otherwise a question: Is there a way to turn this off?
There may be some uses for the Touch Bar in TextMate. (Rather than the dumb things some apps are doing, like adding a button for italic, when cmd-I is so near to hand).
1. Display the current inner-most scope on the touch bar.
2. Button for folding
3. Buttons for bookmark Set, Next, & Prev
3. Perhaps buttons for
1. ^⇧⌘-P (show scope (maybe touching the displayed scope does this)
2. ^⌘-T (select bundle item)
New feature: Add a field to bundle items to allow devs to mark them to show in the Touch Bar?
Best, tim
Hi:
Does anyone know how to input latex math equations in Markdown to be viewed in pdf? For example, I typed $$x_{t}^{h} = 2.3$$ in the Markdown file but the pdf preview does not show the typeset math equation.
Any help would be appreciated.
Tao
Hi,
I’m using TM 2.0-rc.10 on macOS 10.13.6
I bumped into a very rare case which is not handled correctly by TM.
TM can not handle cases when the very first character within a document is a lonely combining (diacritical) character as eg ́ U+0301. I know this should not happen but it can (while copying from other apps or using input methods which aren’t set up correctly, …)
To reproduce this issue you can do the following:
• open a new doc in TM
• open “Character Viewer”
• search for “combining”
• insert ́
Then type some characters and try to
• Select All
• navigate with arrow keys (eg ← many times)
• delete the this first character
• apply some basic text manipulation (from Bundles)
• etc.
Sometimes this character is responsible for crashing TM.
As I said, it’s a very rare case and it’s not urgent but it would be nice if TM can handle that case :)
Cheers, Hans
Hello !
Some time ago I posted a SO question about an [issue](https://stackoverflow.com/questions/50412613/scopeattributes-with-mu… <https://stackoverflow.com/questions/50412613/scopeattributes-with-multiple-…>) I encountered while running both the Strip-Whitespace-On-Save and Ensure-Newline-At-EOF bundles (the latter being the recently added one).
Since that question didn't gather any feedback, maybe I'll have more luck here, hence the "repost".
The gist of the issue is that either 1) couldn't read the manual hard enough to find the correct syntax to use, 2) scopeAttributes really are limited to 1 (which I didn't expect when I spec-ed the attribute thingy in the SWOS bundle).
Thanks for your time !
Regards,
Etienne Samson
--
samson.etienne(a)gmail.com
I use an XHTML template language for my web applications that allows me to
define my own tags such as <s:embed>...</s:embed>. I set the language for
these files to HTML so that embedded stylesheets, scripts, etc. are
formatted correctly.
With HTML bundle update yesterday, these custom tags are now highlighted as
errors with the scope invalid.illegal.unrecognized-tag.html
This has worked great for me for at least the last eight years at least.
This new behavior is rather annoying.
Is there a way that I can avoid the HTML bundle flagging these custom tags
as errors?
Hi y’all.
Are there any plans to bundle a more recent Ruby version in the app?
Ruby 2.5.1 is the latest.
Ruby 1.8.7 ships with the app.
The Ruby Core team has long ago stopped supporting 1.8.x.
They currently only support (security fixes, etc) Ruby 2.3 - 2.5 (and 2.6 preview).
Thanks
Shane
Hello there,
I've been using a tooltip based linter for a while, and recently
occationally the tooltips seem to be sticking around. Has anything changed
with that API, intentionally or otherwise?
Is there a way to clear these tips without relaunching the app?
The follow steps are what I feel might cause the issue, but does not
reproduce regularly. Not sure how to help debug except describe that I
think Save a "lintable" file, switch tabs via the keyboard, then switch
again (possibly switch back?).
I'm using callback.document.did-save, callback.document.did-open as a
trigger, maybe its an edge case of $DIALOG tooltip
and callback.document.did-save or callback.document.did-open?
Thanks for looking,
Graham
--
Thanks,
Graham P Heath
In Hyperlink helper command "Lookup Word / Selection on Wikipedia and link" is broken
Error is
/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=Mende… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Mend… (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
Hi,
Under Mojave, applescripts from Textmate to R.app have broken.
I thought this would be fixed by adding TextMate and R.app to the apps allowed to control my computer
(prefs: security: privacy: accessibility)
But seems not. This repro script runs properly from terminal
osascript -e 'tell application "R" to cmd "2+2" '
But from textmate, the script below activates R.app, but doesn’t execute cmd in R…
Any thought?
This is the script of the TM command I use to send the selection to R.app
#!/usr/bin/env bash
# input is selection or document
rawText="`cat`"
curDir=''
if [[ ${#TM_DIRECTORY} -gt 0 ]]; then
curDir="$TM_DIRECTORY"
fi
osascript -e 'on run(theCode)' \
-e 'tell application "R" to activate' \
-e 'if (item 2 of theCode) is not "" then tell application "R" to cmd "setwd('\''" & (item 2 of theCode) & "'\'')"' \
-e 'tell application "R" to cmd (item 1 of theCode)' \
-e 'end run' -- "$rawText" "$curDir"
Hello again,
I've got indentedSoftWrap configured and enabled for json with the
following config:
indentedSoftWrap = {
match = '(\A[ \t]*)';
format = ' ⏎$1';
};
Which works, and I've been enjoying it, but I'm wondering if the special
character could go on the next line?
Right now I've got
{
"someLongKey": "with some really long value that just keeps ⏎
going and going",
}
but I'd like to see
{
"someLongKey": "with some really long value that just keeps
↘︎ going and going",
}
I tried altering the format, but was unsuccessful in getting anything to
appear on the next line.
Thanks,
Graham
--
Thanks,
Graham P Heath
I think I've mentioned this before, but I do wish it were fixed so I'm mentioning it again. Sometimes the global Find dialog shows (correctly) that my search text occurs on a certain line of a certain file but doesn't show the occurrence. In this screen shot, the first two occurrences are listed but the found text is at the end of the line whereas what we are being shown is the start of the line.
The occurrences listings are not horizontally scrollable so there seems no way to learn the context.
As the third line shows, this does work sometimes. It's a great feature and I've come to rely on it, so I do wish it worked all the time.
m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do
iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hi all,
I've a strange encoding issue.
By default TM uses UTF-8 LF endoding.
When a file contaings spectial charaters, and one edit this file in an other
texteditor, TextEdit, save this file and open in TM again, the encoding
becomes Chinese GB18030.
How to reproduce:
Create in TM a new file with content:
"some text with some special characters: é ü à"
Save this file UTF-8 and LF encoding.
close file
open file in TextEdit and add a new line with some text, save
Reopen the file in TM => now encoding is Chinese GB18030
Does any body have a clue what is hapening? It is special character related!
macOS 10.13.4
TM 2.0 rc9
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
1. Open ⌘⇧-T window
2. Open a file that takes some time to syntax highlight
Expected: newly opened file highlights, and function window populates
Obtained: Spinning wheel of death
Alternative repro
1. Open a file that takes some time to syntax highlight
2. Open ⌘⇧-T window (you probably have a few seconds to do this)
Expected: Function window populates with function list
Obtained: Spinning wheel of death
Version: 2.0-rc.7.
Hello,
I am working on a publication with Language Science Press. and I have
problem compiling the template. I am running Textmate version 2.0-rc.4
on OSX 10.13.4. I have recently upgraded to MacTex 2018. The problem is
that no pdf is created from Textmate. It is a bit odd.
I would like to ask if someone here can try to compile
Language-Science-Press' monograph template which can be downloaded from
here <http://langsci-press.org/templatesAndTools>. (or the directlink
<https://github.com/langsci/latex-skeletons/raw/gh-pages/monographskeleton.z…>).
It works with other editors like Texshop as well as from the command
line. But not with Textmate. On the other hand, I can compile other .tex
files with Textmate. So I am a bit lost as to why this is happening.
Best
Christian
ps: I have tried some general things from a previous discussion in this
mailing list _and they worked fine__for me_:
After that I translated the following document:
\documentclass{article}
\begin{document}
Test
\end{document}
in TextMate without any problems. Could you please try the following:
1. Create a new file in TextMate
2. Paste the LaTeX code from above into the document
3. Save the file in the folder `Downloads` using the name `Test.tex`
4. Open Terminal
5. Enter the following commands:
cd ~/Downloads
latexmk -pdf Test.tex
6. Does the command `latexmk -pdf Test.tex` print any error messages?
7. Does the folder `Downloads` contain the PDF file `Test.pdf`?
I’ve recently moved to a new machine (an iMac Pro), and have successfully installed Texlive 2017 and TextMate. When I use other LaTeX editors, I can successfully typeset LaTeX files, but not when I use TextMate. I typeset in the old fashioned dvips->ps->pdf way, and the problem I seem to be having is with the ps2pdf utility, that finishes the conversion of the file from postscript to pdf. The error message says that this utility has run too many times. When I view the postscript file that is created during this process, it looks fine and I can get Preview (and Skim) to translate it into a pdf.
Because other editors can typeset fine, I’m thinking that there is something wrong with the way that TextMate calls the ps2pdf process on my machine. Has anyone experienced this problem?
Thanks in advance,
Kyle Johnson
Both are system, macOS, limitations for QuickLook.
For the second point, I believe, and I’m sure someone here will correct me, the images and videos that are supported formats (that is handled natively by macOS, don’t seems to have this issue. If the image or video format requires/relies on external app’s quicklook abilities then those will exhibit the same behavior.
Best,
Farhan
> On Mar 25, 2018, at 4:08 PM, Christian Rosentreter <karibu(a)gmx.net> wrote:
>
> * It cuts off files at a certain amount of lines. This wouldn't be so bad by itself, but there
> is zero visual indication that the displayed text is cut off (something like a special coloured
> ellipsis symbol at the end, or something)
>
> * if the system is under load (say something else, e.g. a raytracing application, is using 100%
> CPU) I only get the spinning indicator in the QL window and it never manages to actual display
> the text. It is as the TextMate QL generator runs with such low priority it doesn't get a share
> of CPU by the OS. Other file types (images, even videos) don't seem to share the same problem.
Hi,
I have a command (copied below) which grabs the paths of the selected items in the Finder, and inserts them into a textmate doc.
I'd like to do some post-processing of the result (replace e.g. replace "/Users/.*/" with "~", and strip trailing return character.
How does one take the resulting string from a script, and process it, say, in php or bash. or should I just work on post-processing theList in applescript?
Thanks!
#!/usr/bin/env bash
osascript -e 'tell application "Finder"
set theFiles to selection
set theList to ""
repeat with f in theFiles
set theList to theList & "\"" & POSIX path of (f as alias) & "\","
end repeat
return theList
end tell'
Revert to RC7. RC8 has this breakage trying to deal with files that
have no extensions.
--
Marc Wilson
msw(a)cox.net
On Thu, Mar 22, 2018, at 6:13 AM, Rob McBroom wrote:
> After the last update, I noticed some garbled Quick Look previews in
> my Downloads folder.>
> I’m pretty sure it results from this commit:
> https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…> As you can see form the image, it doesn’t seem to affect all files,
> but I would argue that no application should claim Quick Look support
> for every file in existence.>
> --
> Rob McBroom
> http://www.skurfer.com/
>
>
> _________________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
Yes. I’ll second this. Having the same issue. Is there a better way to resolve the issue, as it is stated in the commit message?
Best,
Farhan
> On Mar 22, 2018, at 9:13 AM, Rob McBroom <mailinglist0(a)skurfer.com> wrote:
>
> After the last update, I noticed some garbled Quick Look previews in my Downloads folder.
>
> <Screen Shot 2018-03-22 at 9.06.59 AM.png>
>
> I’m pretty sure it results from this commit:
>
> https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…
>
> As you can see form the image, it doesn’t seem to affect all files, but I would argue that no application should claim Quick Look support for every file in existence.
>
> --
> Rob McBroom
> http://www.skurfer.com/
After the last update, I noticed some garbled Quick Look previews in my
Downloads folder.

I’m pretty sure it results from this commit:
https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…
As you can see form the image, it doesn’t seem to affect all files,
but I would argue that no application should claim Quick Look support
for every file in existence.
--
Rob McBroom
http://www.skurfer.com/
Hi all -
Something's gone wonky with my Javascript bundle (and only that one, as far as I can tel)l. Every time I hit cmd-/ to comment/uncomment some text, it uses an unindented block comment instead of the double-slash single line comment I expect. ("/* */", rather than "// ")
So:
" this line"
becomes
"/* this line*/"
when what I want and expect is
" // this line"
I suspect this has to do with some way I've edited the language bundle incorrectly. Does anyone know
A) how I could fix this particular issue, or
B) how I could remove all my changes to the Javascript bundle and revert simply to the repo version?
Cheers,
Evan
I’m been starting to use go-to-definition commands more and more in TextMate. One thing that would be really nice is if there was a way to navigate back to the location where I invoked go-to-definition. I quite often look up the source code of a symbol that I’m using with the help of go-to-definition and then need to get back to where I was coding. If go-to-definition opens a new file it’s pretty easy to get back to the previous location by just closing the newly opened file. But if the definition is in the same file it’s not that easy to get back. One idea would be set a mark when go-to-definition is invoked, then use Jump To Next/Previous Mark. The problem with that is that there might be different marks, like marks set by compiling the code. These marks will now interfere with go-to-definition marks. It’s also quite difficult to build up a stack, allowing to navigate backwards and forwards with these marks. Since navigating between marks will, I think, in the order they’re located in the document, not the order they were created or any other user defined order.
Ideally this would be a built in feature in TextMate, making it possible to navigate backwards and forwards regardless if the “mate” command, the Jump to Line or any other feature was used to navigate the code.
--
/Jacob Carlborg
Hi all,
I can’t push/pull using the Mercurial bundle, I get the following error:
“abort: no suitable response from remote hg!” (In a tool tip.)
It works fine on the command line and other commands, like commit and diff, works fine from TextMate.
Any ideas about how to debug this?
Cheers,
Tuk
macOS 10.13.1
I've also tried changing the shebang of gen_html to so it uses ruby 2.4.2 (from Homebrew) and the result is the same. Anyone else hitting this? Any workaround?
[266/740] Generate ‘/Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html’…
FAILED: /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html
bin/gen_html > /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html~ -h Applications/TextMate/templates/header.html -f Applications/TextMate/templates/footer.html Applications/TextMate/about/Contributions.md Applications/TextMate/references.md && mv /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html~ /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:861:in `eval': (erb):18: syntax error, unexpected &, expecting end-of-input (SyntaxError)
; ></p>
^
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:861:in `block in result'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:862:in `result'
from bin/gen_html:29:in `expand_tpl'
from bin/gen_html:114:in `block in <main>'
from bin/gen_html:114:in `open'
from bin/gen_html:114:in `<main>'
[275/740] Compile xib ‘Applications/TextMate/resources/English.lproj/MainMenu.xib’…
ninja: build stopped: subcommand failed.
I tried completely cleaning up, and also worked around the annoying ns/ns.h issue that was previously reported to this list, but the results is the same:
rm -rf ~/build
rm -rf ~/github/local/textmate
cd ~/github/local
git clone https://github.com/textmate/textmate.git
cd textmate
git submodule update --init
sed -i.bak 's%<ns/ns.h>%"/Users/dfelicia/github/local/textmate/Frameworks/ns/src/ns.h"%g' /Users/dfelicia/github/local/textmate/Frameworks/OakFoundation/src/OakFoundation.mm
./configure
ninja
Hi,
I'm trying to fix the textmate2 port in MacPorts. It fails to build on OS X 10.10 and earlier, and I think the reason is that the code uses Objective-C lightweight generics, a feature introduced in the 10.11 SDK. So I would like to instruct the build to use the 10.11 SDK, but I can't figure out how to do that. Usually I would set environment variables:
CFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
CPPFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
CXXFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
LDFLAGS='-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
OBJCFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
OBJCXXFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
But textmate's configure script isn't an autotools one and it doesn't appear to honor these environment variables. So how can I tell the build system I want to use a different SDK? I see that the configure script explicitly passes CC and CXX to bin/gen_build. Do I need to modify the configure script to also explicitly pass the other environment variables or is there an easier way that doesn't involve modifying the build system?
Dear all,
When parsing large amount of text from textmate2 to the terminal, it sometimes happens that strange parsing errors occur.
Line breaks, white space, or symbols are arbitrarily not send correctly to terminal.
For example; this line in textmate:
col <- ifelse(…
ended up like this in terminal:
col <col <cse(...
Hence, whenever I want to run multiple lines of code, I end up with errors, which makes it very difficult to work with textmate in combination with terminal.
I use the following command to parse the selected text to the terminal:
#!/bin/bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
rawText="$(cat | sed 's/ / /g;')"
#rawText="`cat`"
osascript -e 'on run(theCode)' \
-e 'tell application "Terminal" to activate' \
-e 'tell application "Terminal"' \
-e 'do script theCode in window 1' \
-e 'end tell' \
-e 'end run' -- "$rawText”
Thanks for any help and advice!
Dear TextMate,
Hello,
I can't find the advanced preferences menu indicated in the document below.
https://manual.macromates.com/en/saving_files.html
Where is it? Should I do something special to show it up? I am using
TextMate version 2.0.
Thank you
Hi,
is there a way to show git changes in the gutter (next to the line numbers)?
In the file browser you can see the changes of files, but it would be nice
you can also see the changes next to the line numbers in the gutter.
== Feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hi all,
I’ve been a loyal TM1 user for years who has resisted migrating to TM2 because I was waiting for key features like live, editable HTML preview. (I’m still on Firefox 56 too, so a bit of a plugin addict.)
A few restarts after migrating to High Sierra I noticed a "Software Update" prompt in TM1. (I’m now running 1634.) I thought that was odd as I assumed development had ceased on TM1, and am curious what that is.
I’ve also read that Apple will soon disallow 32-bit applications in a future MacOS update. Am I right in assuming that will force me to use TM2?
Since I’m a bit out of the loop about active TM development these days, has anyone added the ability to view and/or edit HTML in a live Web preview?
Thanks for any advice!
jon
Hi all, I am new to TextMate, and not sure if it's appropriate to ask a
question about embed language here.
I have a language needs to embed JSON language syntax highlight. However,
unlike most languages to have an specific identifier to mark the embed
language scope like Markdown:
```json
{"hello": "world}
```
Here, for markdown language, the begin is ```json, and the end is ```. The
contents between begin and end are real JSON.
However, in my own language I just treat a line starts the { and [ as a
JSON, since they are the begin characters of a valid JSON. And for my case,
the end is the empty line. So the difference is that the matched line of
begin regex also should be treat as the JSON language so that I can include
source.json. But I don't know how to achieve this.
Thanks in advance.
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hi,
is there a quick way to transform for instance
[Role, User, UserRole, SourceAddress, BulkMessage, Message, SingleSMSTemplate, Company, Contact]
into
[
Role,
User,
UserRole,
SourceAddress,
BulkMessage,
Message,
SingleSMSTemplate,
Company,
Contact
],
?
(In this case it's Python but it could be more or less any language.)
I do this so often manually, there must be a better way?
Thanks,
Tuk
Hello,
I absolutely love the feature introduced in TM 2 with Lion: being able
to reopen all the windows [1] after any expected or unexpected events
(rebooting, upgrading, crashes, ...).
What I miss in TextMate though is reopening the windows in the same
desktop where they were before closing the app.
I often have up to 100 files opened at the same time, spread across a
number of desktops and I only reboot the OS about once in a month. But
after every reboot or TM upgrade, I need to sort the windows manually
again which is a bit annoying.
Terminal windows open in exactly the same desktop where they were
closed, the web browser (Chrome) sadly doesn't respect that, about
other software I don't care. I would really love it if TextMate would
remember in which desktop the windows were last opened and reproduce
the exact state after relaunch. I don't know how difficult it would be
to implement that change though.
What do others think about it? Should I enter the feature request in
the tracker?
Thank you,
Mojca
[1] https://support.apple.com/en-us/HT204005
Hi all,
Having received some TeXLive updates recently, I am now unable to use cmd-R in TextMate to typeset. Whichever .tex I try (in this case Reason. tex), I just get
Command latexmk -pdf -f -r /tmp/latexmkrc -r '/Users/robertmilton/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/config/latexmkrc' Reason.tex exited with status 127
Is anyone else having this problem, or does anyone know how to fix it?
Regards
Robert
When I use Find In Project, the Replace and Replace & Find buttons are now
always grayed out. So that feature is completely unavailable to me.
Am I doing something wrong? Has something changed in TextMate regarding
this? Anyone else having this problem.
Hello,
Every so often the UI will hang. This is a new development and has started about a week or so ago. I don’t think anything has really changed on my end. It occurs when moving my text cursor around or when bringing up the find window. I’m sure there are other things that cause it to occur, but I can’t think of them at the moment. It doesn’t happen every time but it happens enough to be annoying.
Any help would be appreciated.
Thanks!
Hi all,
I have found (I think) an intermittent problem with the find panel in TextMate. I’m using 2.0-rc.4. What is happening is that the next button of the find panel always find (stay) on the same text search in the source instead of going to the next text selection. I’m using it for editing C Code.
Like I said is very intermittent, it happens only sometime in 1 in 40 each time I use the search function. Maybe I just not found out what is triggering this behaviour.
Thanks,
Yann Bourdeau, M.Ing.
Senior Software Developer
438-499-4607
yann.bourdeau(a)noviflow.com
I knew there was a reason I subscribed to this list—I’m not a power user; but once every few months a tidbit like this comes along. Thank you. I found the default response confusing and annoying. But no doubt others like this feature. Nice to know we have choices.
Greg
> Curt Sellmer <sellmerfud(a)gmail.com <mailto:sellmerfud@gmail.com>> wrote:
>
> You can change this default behavior by quitting TextMate and using the
> following command in Terminal:
>
>
> defaults write com.macromates.textmate alwaysFindInDocument 1
>
>
> When you restart TextMate it will always perform the find in the Document
> even if there is current a selection.
Apologies for the self-promotion but I thought this may be interesting to some of you. I’ve seen Atom and Sublime Text linting plugins and I was wanting something similar for TextMate so wrote my own plugin:
https://github.com/MikeMcQuaid/Linter.tmbundle
Give me a shout if you like this or have feedback. If there’s enough interest I’d like to try and submit this to be an official TextMate plugin in future.
Thanks!
Mike McQuaid
http://mikemcquaid.com
I see the file in ./Frameworks/ns/src/ns.h, perhaps that framework needs to be built first?
I am sure I can haxor it to work, but would rather not get onto that slippery slope, have been using mate for like 9 years now, and there are some things I would like to fix in 2.0rc4 or at least test to see if they are fixed in master.
Output:
UpLk Prod[textmate] $ ./configure && ninja
rm /Users/gplayer/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem
bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777
[1/1] Generate ‘build.ninja’…
bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777
ninja: no work to do.
ninja: no work to do.
[1/9] Compile ‘Frameworks/OakFoundation/src/OakFoundation.mm’…
FAILED: /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o
xcrun clang++ -include /Users/gplayer/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.9 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -flto=thin -I"/usr/local/opt/libressl/include" -I"/usr/local/include" -fvisibility=hidden -std=c++14 -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o -MMD -MF /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o.d -I/Users/gplayer/build/TextMate/include Frameworks/OakFoundation/src/OakFoundation.mm
Frameworks/OakFoundation/src/OakFoundation.mm:3:9: fatal error: 'ns/ns.h' file not found
#import <ns/ns.h>
^
1 error generated.
[8/9] Compile ‘Frameworks/updater/src/updater.cc’…
ninja: build stopped: subcommand failed.
hyperlink helper has been broken for some months
Failure running “Lookup Selection on Google and link” gets a forbidden redirect, “Lookup Selection on Wikipedia and link”.fails:
/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=Obitu… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Obit… (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
Hi,
I'm using a bundle that runs a node process on save to run eslint, but now I've found a strange case where a certain piece of invalid javascript causes TextMate to crash.
From what I understand from the crashlog there's something going wrong in JavaScriptCore, which causes TM to crash. (crashlog "Anonymous UUID" A6388CF6-BEC3-74D3-1176-D1710B8004B0 (is this usable?))
I can imagine that even when a subprocess fails, TM should not crash?
The particular bundle is my modified version of the javascript-eslint bundle <https://github.com/koenpunt/javascript-eslint.tmbundle/tree/js/>. The problematic code is (and can be used to reproduce the crash):
switch (true) {
case 'background':
}
default:
}
– Koen
Sent from Mailspring (https://link.getmailspring.com/link/local-6f2fd5cb-35f7@Ks-MacBook-Pro-2.lo…), the best free email app for work
I recently purchased a new Mac. I copied Textmate along with the
Application Support folder over from my old Mac.
Everything works fine. I noticed that at the top of each editing window is
a button called "Add License".
When I click this button it Shows my Name and my License. However the
License textbox is greyed out and the "Add License" Button is disabled.
Is there a way that I can re-enter my license so that this button goes away?
There was this, which Infininight said is being patched, but I wasn’t
clear whether it was a fix in a bundle (looks like it is), or whether it
was in core.
13:01 mwilson: allan: https://twitter.com/_nb/status/91112623863850598914:05 allan: Infininight: are you seeing ↑
14:05 allan: I’m not on 10.13 yet
14:05 allan: and I can’t really think of what’s causing that…
14:16 Infininight: allan: hmm, not even sure how you would trigger a dialog like that if you wanted to?14:17 Infininight: outside of using tm_dialog that is
14:24 Infininight: ok, found the issue; will get a copy of 10.3 to fix
00:34 gina has joined (~gina(a)_192.30.252.41_)
00:34 gina: [bundle-support.tmbundle] infininight pushed 1 new commit to master: https://git.io/vdTxi00:34 gina: bundle-support.tmbundle/master 6e6188a Michael Sheets: Update ruby support for High Sierra...00:34 gina has left ()
--
Marc Wilson
msw(a)cox.net
On Mon, Sep 25, 2017, at 11:22 PM, Andrew Cohen wrote:
> Are there any known issues with Textmate on 10.13 or is it safe to
> upgrade? Are there concerns with APFS, for example?>
>
> Thank you,
>
> * -Andy*
>
> _________________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate