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'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
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