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.
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,
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 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