Daniel Vollmer | 10 May 2013 11:15
Picon

[txmt-dev] Odd soft wrap behaviour with long comments (especially at the end of long statements)

Hello,

I'm not sure whether the following is intended behaviour
http://www.maven.de/pics/tm_softwrap_comments.png
but it looks rather odd.
The comment stays to the right of the comment-start (the same happens for '//' for C for example).
At some point though, it'd be better to just perform a plain wrap that doesn't try to right-align to the start
of the comment.

Is this behaviour configurable? Either in the bundles or TM2?

Thanks,
	Daniel.
Joshua Dunham | 25 Apr 2013 22:46
Picon

[txmt-dev] Extending LaTeX Bundle with custom google web scrape

Hi Everyone,

      I'm trying to add a bit of functionality to the LaTeX bundle by
making a glossary builder that scrapes from google definitions.
Essentially what I would like to do is mimic the behavior of the
'Hyperlink Helper' bundle which allows one to select a word and (for
instance) do a wikipedia search on the word and have it paste a link
into the editor window (only I want some page text). Ideally what I
would like to do is grab the definition (or few defs) from the page
and paste them into the editor wrapped in glossary syntax.

     My first stumbling block is that when I try and execute the
Hyperlink Helper for any word / macro it returns a "(this language is
not supported, see … for more info)" error message. I've tried using
some fancy shell scripting with the 'dict' app (queries dictionaries)
but the output is not 100% standardized. Google is a much better
resource but a bit more difficult to code for. Could anyone provide
insight how to make such an extension to the bundle?

  -J
_______________________________________________
textmate-dev mailing list
textmate-dev <at> lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev
Paulo Moura | 12 Mar 2013 14:15
Favicon
Gravatar

[txmt-dev] Re: Disable automatic indent corrections ignored (Allan Odgaard)


On 12/03/2013, at 12:00,
textmate-dev-request@... wrote:

> Message: 1
> Date: Mon, 11 Mar 2013 14:09:30 +0100
> From: Allan Odgaard <mailinglist@...>
> To: TextMate developers <textmate-dev@...>
> Subject: [txmt-dev] Re: Disable automatic indent corrections ignored
> Message-ID: <51457CCA-17F1-4653-A474-13E4ECA35D6B@...>
> Content-Type: text/plain; charset=windows-1252
> 
> On Mar 11, 2013, at 12:24 PM, Paulo Moura <pmoura@...> wrote:
> 
>> [?] this setting is ignored in the past few 2.0 alpha versions
> 
> It still works here. Tested typing in a plain text document with a line above the current being indented.

I see that the plain text bundle defines the setting:

{	disableIndentCorrections = '1';
	indentOnPaste = 'simple';
}

I assume that "disableIndentCorrections = '1';" is equivalent to "disableIndentCorrections = :true;"
(which, if I recall correctly, allows compatibility with TextMate 1.x).

The new bit here is the "indentOnPaste" key, which I was not aware before (I probably missed it in the release
notes of some past TextMate version). Looking for the possible values for this key I found:

(Continue reading)

Paulo Moura | 11 Mar 2013 12:24
Favicon
Gravatar

[txmt-dev] Disable automatic indent corrections ignored


Hi,

Under advise in this list, the Logtalk bundle contains a (enabled) settings named "Disable indent
corrections" with the content:

{ disableIndentCorrections = :true; }

The scope selector is correctly set to "source.logtalk". But this setting is ignored in the past few 2.0
alpha versions, including the last one. A know bug? Or did I missed some change to
"disableIndentCorrections"? The automatic indent corrections make it painful to edit Logtalk and
Prolog code as they are most of the time wrong. We discussed this issue in the past and the conclusion at that
time was that disabling these automatic corrections was the best choice.

Cheers,

Paulo

-----------------------------------------------------------------
Paulo Moura
Logtalk developer

Email: <mailto:pmoura@...>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------
Nikos Kanellopoulos | 5 Mar 2013 16:54
Picon

[txmt-dev] Want to contribute, need some hints.

Hello everybody.
I am a Textmate user since 2008.

I cloned the code from github yesterday. It compiled fine.
Textmate 2 seems quite usable :)
I took a loot at the code, and I think I would like to contribute to the
project.

So, someone just picks an area of interest and tries to improve on this, or
is there any coordination of effort?
Are there any guidelines for newcomers or an overview of the project and its
targets ?

Regards,
Nick Kanellopoulos
_______________________________________________
textmate-dev mailing list
textmate-dev@...
http://lists.macromates.com/listinfo/textmate-dev
gafgaf | 1 Mar 2013 10:50
Picon
Favicon

[txmt-dev] Request and wish for feature of mixed "File Browser" with chapters and sections

Hi all,

would'nt be nice to have a more productive "File Browser" or Navigation instead having it this way:
folder
.tex
.otherformat
....

better this way (a mix of tex-files and chapters and sections included in those tex-files):
.main_tex

.first_only_tex
chapter
sections

.second_only_tex
chapter
sections

.third_only_tex
chapter
sections

.tables_tex

This feature would make working much productiver beeing able to change easy and fast between chapters, when seeing in which tex-file which chapter or subsections are...

best regards

_______________________________________________
textmate-dev mailing list
textmate-dev@...
http://lists.macromates.com/listinfo/textmate-dev
Alex Reynolds | 1 Mar 2013 09:18
Picon

[txmt-dev] Problems compiling Textmate 2

On my OS X 10.8.2 system running Xcode 4.6, clang 4.2 and gcc 4.7.2 (universal), I installed dependencies
(ninja, ragel, boost, multimarkdown, mercurial, proctools) and cloned a copy of the textmate.git, as
well as updated the modules:

$ sudo port install ninja ragel boost multimarkdown mercurial proctools
$ git clone https://github.com/textmate/textmate.git
$ cd textmate
$ git submodule update --init

No problems so far, but I then tried to run ./configure, and I ran into the following error: 

$ sudo ./configure 
make: Nothing to be done for `all'.
mktemp: too few X's in template ‘bundles’
skip ‘Apache’ (org.textmate.updates.default) -- already installed
...
skip ‘XML’ (org.textmate.updates.default) -- already installed
Downloading... Done!   
gnutar: : Cannot chdir: No such file or directory
gnutar: Error is not recoverable: exiting now

Is there something more I need to do to get the build process started? Thanks for your advice.

Regards,
Alex
Picon
Gravatar

[txmt-dev] How can I turn off auto-pairs?

I would like to turn off auto-pairs of quotes and brackets.
Is it really?

--
Anatoly Sharifulin.
_______________________________________________
textmate-dev mailing list
textmate-dev@...
http://lists.macromates.com/listinfo/textmate-dev
Picon
Gravatar

[txmt-dev] How can I change theme and font settings by default?

Hi everyone,

I installed prebuilt binary of Text Mate 2. And I can't change theme and font settings by default.
Is it normal?

Please tell me how can I change these settings?

--
Sincerely,
 Anatoly Sharifulin.
_______________________________________________
textmate-dev mailing list
textmate-dev@...
http://lists.macromates.com/listinfo/textmate-dev
bobrocke | 1 Feb 2013 18:24

[txmt-dev] File Browser Colors?

Where are the colors for the File Browser background and text defined? 

How would I go about changing them? 

Bob

--
View this message in context: http://textmate.1073791.n5.nabble.com/File-Browser-Colors-tp26149.html
Sent from the textmate-dev mailing list archive at Nabble.com.
Caleb Land | 26 Jan 2013 21:43
Picon
Gravatar

[txmt-dev] Question about PlugIns

Hi guys,

I'm trying to update the Emmit HTML plugin (https://github.com/emmetio/emmet-objc) to work in TM2.

It's pretty straightforward, it uses:

[NSApp targetForAction: <at> selector(insertSnippetWithOptions:)]

to get the OakTextView that is active.

The problem comes when it needs to access the 'environmentVariables' method of the OakTextView… there isn't one.

It uses the result to access:

TM_LINE_NUMBER
TM_LINE_INDEX

My question is how should I get those from the plugin?

I see that I need to somehow call editor_t::variables, but I don't know how I could call it from the OakTextView without including the TextMate headers and accessing the "editor" member of the OakTextView.

Is there something I'm missing?

-- 
Caleb Land
Sent with Sparrow

_______________________________________________
textmate-dev mailing list
textmate-dev@...
http://lists.macromates.com/listinfo/textmate-dev

Gmane