Hello all, I was playing around with the new indented soft wrapping feature
in TextMate 2, and I'm a little confused with how this is supposed to work.
In http://article.gmane.org/gmane.editors.textmate.general/33488, Allan
said that the `format` value is expanded and prepended to each wrapped
line. However, try doing this: go into the bundle editor and edit Source >
Settings > Style: Line Comments - Slash, change the format string to
'${0/./a/g}', and save. Then open up a blank document with the language set
to C, hit tab a few times, and type a comment that extends past the
wrapping marker. When I do this, it appears that the `format` string is
being expanding and *appended* to each wrapped line, but that a number of
whitespace characters equal to the length of the `format` string are also
being *prepended* to each wrapped line. Is that what's supposed to happen?
Here's exactly what I see if I set the wrap column to 40 and put 8 spaces
before the beginning of the comment:
// Lorem ipsum dolor sit amet, aaaaaaaaaaa
consectetur adipisicing aaaaaaaaaaa
elit, sed do eiusmod tempor aaaaaaaaaaa
...
Is anyone else seeing this behavior as well? I ran across this while trying
to change the settings so that soft-wrapped comments had some sort of
"ghost" comment marker placed at the beginning of each line, for example
some kind of vertical ellipsis like a tricolon ⁝. Is it possible to achieve
that kind of effect with the new soft-wrapping system? Thanks for any
comments!
-Daniel
Hi,
Is it possible to bring back "Replace & Find" and "Replace" buttons in the
search window of TextMate 2.0?
Actually, there're only "Find All" and "Replace all" which is not
sufficient.
Thank's
--
View this message in context: http://old.nabble.com/TM2%3A-%22Replace---Find%22-button-tp33026608p3302660…
Sent from the textmate users mailing list archive at Nabble.com.
On Monday, December 26, 2011 at 12:13 , textmate-request(a)lists.macromates.com wrote:
>
>
> And how do you open the selected file in the file browser using the
> keyboard? ('enter' (or any combination of modifiers + 'enter)' just points
> to a renaming the file.)
>
> --
> Ja'far ibn Richard Railton
> +44 (0)7 85 79 85 426
> ibn.richard(a)gmail.com (mailto:ibn.richard@gmail.com)
>
After I upgraded to Lion, which has Ruby to 1.9 instead of Ruby 1.8, the
command "Environment Closer – \end{…}" (⌥⌘.) in the LaTeX bundle fails
with the following error:
TextMate.app/Contents/SharedSupport/Support/bin/checknest.rb:44:
syntax error, unexpected ':', expecting '}'
when /^-l(\d+)$/: levels = $1.to_i
I'm using TextMate 1.5.10 (1631).
Here is diff that fixes this error:
--- checknest.rb 2011-03-15 08:57:48.000000000 +0100
+++ checknest.rb 2011-12-23 10:17:00.000000000 +0100
@@ -40,11 +40,11 @@
debug = false
ARGV[3..-1].each {|e|
case e
- when /^-n(\d+)$/: num = $1.to_i
- when /^-l(\d+)$/: levels = $1.to_i
- when /^-e(.+)$/: error_text = $1
- when /^-p$/: pass = true
- when /^-d$/: debug = true
+ when /^-n(\d+)$/ then num = $1.to_i
+ when /^-l(\d+)$/ then levels = $1.to_i
+ when /^-e(.+)$/ then error_text = $1
+ when /^-p$/ then pass = true
+ when /^-d$/ then debug = true
end
}
Regards,
Freek Dijkstra
Hi,
- How about allowing a bundle command to run when a user opt and/or shift clicks on a file in the file browser sidebar? That would enable bundles to show an alternate view, for example the git bundle could show a diff when I opt-click a file in the file browser sidebar.
- I think a "Reveal in file browser sidebar" command would be useful.
Thanks
Gerd
>
> On Sunday, December 25, 2011 at 16:43 , Randy Ridenour wrote:
> > Quick question: is there a keyboard shortcut to make the file browser
> active? It can be opened with the keyboard, but I've yet to find a way to
> make it active except by clicking on a file with the mouse.
> >
> > --
> > Randy Ridenour
> >
> Never mind -- I found it in the latest release notes. Control-tab.
> Thanks,
> --
> Randy Ridenour
And how do you open the selected file in the file browser using the
keyboard? ('enter' (or any combination of modifiers + 'enter)' just points
to a renaming the file.)
--
Ja'far ibn Richard Railton
+44 (0)7 85 79 85 426
ibn.richard(a)gmail.com
Dear all,
First, thanks to Allan and everyone at Macromates for an amazingly
stable alpha release, with lots of new goodies/features to use.
Second, a couple of specific queries:
* I note that the emacs binding C-k deletes from the caret to the end
of the line, but C-y just inserts "TODO"; I assume that's a message from
the developer, but I want to check...
* Another emacs-related keybinding I miss is using C-s to continue
searching after the first use of C-s. Now, it seems that you have to use
<tab> after you first use C-s to bring up the search-in-doc box at the
bottom of the window.
Finally, more generally, is there any documentation for what can go into
a .tm_properties file, either official or just samizdat?
Thanks, and appropriately happy holidays to all,
Andrew
Quick question: is there a keyboard shortcut to make the file browser active? It can be opened with the keyboard, but I've yet to find a way to make it active except by clicking on a file with the mouse.
--
Randy Ridenour
Hi,
I think that the theme menu item could be moved to its own tab in
Preferences. There a radio button choice list could show the theme
immediately when chosen. It would feel more natural there. What do you all
think?
bakki
.--.
|o_o | -Bakki Kudva
| :_/ | Navaco, LLC
/ / \ \
(| | )
/'\_ _/`\
\___)=(___/
Hello,
I'am now using TM2 as my main editor, and I am quite happy with it.
I noticed a annoying problem :
I edit a lot of HAML files, where the indentation id syntactically relevant.
Sometime when I edit a line, the line step back by one tab left.
I can reproduce it easily :
- @countries.each_with_index do |country, index|
>
> - unless
>
>
Making a backspace at the end of the "unless" line make the line go left by
2 chars.
I have setup soft tabs of 2. This is using the Ruby Haml bundle.
Any idea ?
++
David