Hello,
After installing the latest security update on macOS 10.13 I no longer
seem to be able to launch TextMate.
When I try to open it, a number of windows get opened in the launchpad
(those that were "hidden"), but before opening all other windows
finishes, the program crashes (crash log is in attachment).
Does anyone have any idea how I could do any of the following:
- find the contents of unsaved snippets
- potentially "purge" the open windows and at least try to see if I
can start TM in a clean fashion.
The only "useful" information I see in the crash log is:
Application Specific Information:
old selected document ‘nil’, new selected document ‘Portfile’
I most definitely had a lot of files called "Portfile" opened when
TextMate still worked, but I don't know where 'nil' comes into play.
The rest looks the same as the garbage I get when mixing libc++ and
libstdc++, but it's probably completely unrelated anyway.
Thank you very much,
Mojca
PS: A bit of background information, in case it is relevant in any way
(probably not).
I usually had quite some windows open, very often using TextMate as a
"random notes, TODO lists, temporary copy-and-paste snippets which I
get from somewhere and plan to use later, ...", a bunch of documents I
had opened might no longer exist after the system reboot (I put a lot
of stuff under /tmp/), a lot of them were never saved, but were
automatically reopened every time when I rebooted the system (which
has worked very reliably ever since Lion), ...
Mac has been nagging me to install security updates for quite a while,
and I kept pushing "remind me again tomorrow", until I finally did it,
but ever since I wasn't able to fire up TextMate again, and this is
one of my top programs I use. I'm still on 10.13, I did download both
10.14 and 10.15, but never decided to actually upgrade. Curious
enough, during the last security update the computer suddenly notified
me that it failed to upgrade the OS (gosh, I never asked my mac to do
even do that, but at least I'm happy that it didn't do an automatic
upgrade). I don't know if any of that has anything to do with
TextMate, but I would be grateful for any advice or hint about
proceeding.
Hi *,
sometimes I open some text file just for reference or to copy something from it. I’d like to open those read-only to avoid erronously introducing changes. Could not find some easy way up to now. Which bright red button in front of me did I miss?
-Moss-
--
Debugging? Klingons do not debug. Our software does not coddle the weak.
– not by Peter Dyballa (as he vows)
Hi,
I experience lately on a regular base a high CPU usage of TextMate (TextMate
version 2.0-rc.23, macOS 10.14.3 18D109). I did not install new plugins
(besides of regular updates TM-build in plugins). TM does not crash so I
cannot provide a crash log.
Could it be related to performing a search in a project folder with a large
number of files?
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
I’ve noticed this a lot and I’m wondering if there is anyway to fix it.
If I have this code:
function findEnvironmentConfig(environment, config) {
if (!Array.isArray(environment)) {
environment = [environment];
} else {
// Clone the array so any mutations aren't received on the other end
environment = [...environment];
}
}
And try to code fold on the line "if ( !Array.isArraty(environment)) {“ then it ends up folding the entire function declaration.
How can I make this work as expected? I have a sneaky suspicion that this is a fatal flaw with TextMate.
Note, this works if the “else {“ is on its own line.
Thanks!
Hello there,
I would like to make my bundle (grammar and theme) to work for C and C++ sources only. How can I achieve it?
This is my actual Grammar configuration, but I would need to restrict the theme to C and C++ too (Since my custom changes are not good for other source files too).
Best
[cid:3E4A02AB-3066-4D86-83D5-51DEB58B0BD9@home-life.hub]
Let's suppose I have a command written in Ruby, that is outputting to HTML
in a new window.
Is there a way to create a link in the HTML output that, when clicked, will
actually execute a Ruby function that I define in the command?
For example, something like:
def do_something(x)
# do something with x
end
puts "<a href=\"command:do_something(42)\">Edit X</a>"
My end goal is to provide an interface for manipulating the current
document; maybe the answer is to do the logic in JS within the HTML window,
and then update the document from there, but I'm equally unsure of how to
do that.
Hi everyone,
I love TM but since I upgraded to v2.0 (also occurs in 2019-10-07 (v2.0.1)) the code folding arrows in the margin have disappeared!
I miss them, how can I get them back?
Thanks,
Ian
Howdy, I maintain the EditorConfig plugin for TextMate (https://github.com/Mr0grog/editorconfig-textmate <https://github.com/Mr0grog/editorconfig-textmate>). I haven’t had much time to work on it recently, but I was trying to update it for the latest TextMate this morning. However, MacOS won’t actually load my bundle inside TextMate. I see this message when TextMate starts:
Failed to load ‘editorconfig-textmate’ (~/Library/Application Support/TextMate/PlugIns/editorconfig-textmate.tmplugin): The bundle “editorconfig-textmate” couldn’t be loaded because it is damaged or missing necessary resources.
I’m fairly certain the cause is that TextMate now uses the hardened runtime (https://github.com/textmate/textmate/commit/412e6798ca206b15cdc8f86a1387835… <https://github.com/textmate/textmate/commit/412e6798ca206b15cdc8f86a1387835…>).
I saw Allan’s message about a similar issue with the Emmet plugin on July 13th: https://lists.macromates.com/textmate/2019-July/041039.html <https://lists.macromates.com/textmate/2019-July/041039.html>
…but enabling the hardened runtime when signing the bundle doesn’t solve the issue for me.
I think the actual problem in this case is that TextMate (not my plug-in) is missing the `com.apple.security.cs.disable-library-validation` entitlement for hardening. Apple’s docs (https://developer.apple.com/documentation/bundleresources/entitlements/com_… <https://developer.apple.com/documentation/bundleresources/entitlements/com_…>) say:
> Typically, the Hardened Runtime’s library validation prevents an app from loading frameworks, plug-ins, or libraries unless they’re either signed by Apple or signed with the same team ID as the app. The macOS dynamic linker (dyld) provides a detailed error message when this happens. Use the Disable Library Validation Entitlement to circumvent this restriction.
Obviously I can’t and shouldn’t sign the plug-in with TextMate’s team ID! So it sounds like this is probably required for third-party plug-ins. Are there other third-party plug-ins that are functioning with the latest version of TextMate? Something else I might be missing here?
Thanks,
Rob Brackett
rob(a)robbrackett.com <mailto:rob@robbrackett.com>
@Mr0grog
I am using the latest 2.0 release of Textmate on a 2017 Macbook Pro. MacOS
10.14.6
I have experienced this only twice in the last two days.
Both times, I had three open documents in Textmate and with the project
drawer visible.
I clicked in the Tab bar to select a different document. And the program
becomes unresponsive. I cannot type any characters and clicking on any
part of the editor view in Textmate has no effect.
Clicking on Tabs has not effect Clicking in the File Browser has no effect.
Interestingly, dragging a Tab to the desktop will make a copy of the
Document on the desktop.
Clicking on the "Menus" at the bottom of the window such as Tabs, or
Language, or the GoTo menu will show the menu. Clicking on an item in the
Goto Menu does not move the editor that that location.
If I switch to another app I cannot use Cmd-Tab to bring TextMate to the
front. The TextMate icons is visible when I press Cmd-Tab but selecting it
has not effect.
I can bring TextMate to the front by clicking on it.
Activity Monitor shows that TextMate is not using any CPU.
I have to Force Quit TextMate.
Now that TextMate is at version 2.0 could I ask what the status of the Bundle editor is ? A lot of functionality that was available in v1.x is missing — for example:
(1) Moving an item from Other Actions to Menu Actions (eg BibDesk Completion)
(2) Moving items within a menu
(3) Creating submenus
(5) Deleting an item
(6) Inserting a separator in a menu
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Molyneux E: molyneux(a)pobox.com
T: 020 8549 0045
M: 07885 426 323
71 Deacon Road, Kingston upon Thames KT2 6LS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~