Textpattern Forum

You are not logged in. Register | Login | Help

#41 2006-12-14 00:43:48

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: A textpattern bundle for TextMate beta version

It’s not a huge deal I was just curious. There are some pretty specialized bundles in the repo (mediawiki, twiki, docuwiki, Symphony) It seems like TXP would fit and it would get some more exposure.

I just think you did a great job and it should be out there.


Shoving is the answer – pusher robot

Offline

#42 2006-12-15 03:35:56

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

@hakjoon, thanks for your positive feedback.
I’ll try to get it up to date in the meanwhile and see what can be done about it.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#43 2007-03-03 22:56:05

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

This is a maintenence release(v08) for the Textpattern Bundle:

See original thread for download and details.

It fixes a couple of syntax Errors, both in Snippets/Commands/Macros and in the Language Grammar as well.

The most important changes are:

  • Added pseudo support for category container tags. ( That also means, that you can trigger a compound single/container tag with ctrl shift right arrow, just like with a plugintag. Special Return is not supported for these, so leave all category container tags on one line, for easier maintenance. )
  • Fixed a couple of wrong scopes
  • Added missing tags and tagattributes
  • compound article snippet syntax fix
  • Updated completion prefs array
  • Reassignment of keybord shortcuts. Take a look in the menu-structure column, to understand what has changed.
    • This last change was necessary, to avoid conflicts with other Bundle Items and fix a couple of convention errors, as oulined here.

There is also a new, theme. It is not cloned on top of the twilight theme, but build from the ground up.
It is not that pretty maybe(no transparency) , but much cleaner and simplified.

I haven’t done any extended testing. Give it a try, if you wish.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#44 2007-03-04 08:18:13

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: A textpattern bundle for TextMate beta version

Anyone tried this bundle with E-Texteditor yet?

Offline

#45 2007-03-05 06:45:11

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

Could be possible.

It relies on these dependencies (Cygwin)

I suspect half of the things would not work.

What about project handling ? Some of the advanved commands rely on a specific File and Folderstructure be persistent in the project drawer

I suppose one would want to make a stripped down version of the Bundle.

Another possible alternative
( I’ve used this recently on XP for some basic things )

regards, marios

Last edited by marios (2007-03-05 07:00:05)


⌃ ⇧ < ⌃ ⇧ >

Offline

#46 2007-03-05 16:09:19

rloaderro
Plugin Author
From: Costa Rica
Registered: 2006-01-05
Posts: 190
Website

Re: A textpattern bundle for TextMate beta version

I just wanted to second Hakjoon’s comment. I use a couple custom bundles from the repository and having the TXP bundle there would make keeping them all up-to-date a cinch. Your work on the TXP bundle is really brilliant and comes in handy all the time :D


Travel Atlas * Org | Start Somewhere

Offline

#47 2007-03-05 17:09:16

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

I have been trying to think about it recently. Yes that will bo so much more nice and logical.
No more all these worries about all these system resource fork files, that accidentaly get packaged up, and also having it preserved there, with the (future) possiblity for some, to commit changes at some point.

There is also a new concept that arouse from Thomas Aylott’s adoption of the Javascript Tools Bundle.

Allan writes about it on his Blog here.
The Idea is to emerge a Sharing Point for all sorts of Bundles, where some of them also might be a little to heavy, to be included with TM ( fat dependencies and such )

However, it is still under construction.

Bundles would be available through SVN from there as well.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#48 2007-08-23 01:36:52

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: A textpattern bundle for TextMate beta version

I just wanted to chime in here =)

e is out of beta and looking like a great option for win users with full bundle support right out of the box. Marios bundle for txp works for the most part without any tweaking at all (Thanks Marios!). Anyhoo it was hardly worth thinking about the 35$ license this is a great set of tools and is a pretty close feature set to textmate.

Offline

#49 2007-08-23 10:18:01

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

Hi, @soulship

Yes, the e-edeitor is quite a good addition to have on a windows machine. I am using it on one of my windows machines, so my kids have something to start with.

the txp_bundle is now at version 0.8 FYI.
( I can see from the downloadcunt, that most poeple mysteriously are using v0.7 )
A few changes will be added shortly, like the addition of the new

<txp:hide></txp:hide> 

tag.

After that, I am not quite sure, if I can find the time to maintain it to keep it up to date, and am thinking of giving it away for adoption.

Changes are on the way. TextMate v2 and such.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#50 2007-08-30 01:36:27

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: A textpattern bundle for TextMate beta version

v0.9 with added textile, PHP and zem_template support

See above. A couple of words, before you click on the link.

  • It is now possible to have custom scopes for PHP and Textile
    (Required of course, for this to work, is that you have Brad Choate’s Textile Bundle and the PHP Bundle installed, and enabled in your Bundle Editor)
  • Not only do you have the whole PHP function Library at your fingertips, but also you get custom PHP syntax highlighting without leaving textpattern Language scope as well. (ctrl shift opt T)
  • What this basically means, is that you can now build up your own function libraries, classes, variables ,etc on top of the available options by refining and narrowing down the scopes of your commands and snippets. A very useful addition, especially if you are working with zem_template from your plugin_cache directory.
  • Selecting New from Template > Textpattern, now gives you a new zem_template option. To give you an Idea, how it looks with Texari Reborn syntax highlighting, take a look at the screenshot below:

Custom Syntax hilighting for Textile

  • I will try to outline the necessary steps shortly below.

Let’s say, we want to build a command, that affects only the array members of one of our custom_functions. Is as simple as that:

  • Create a new Bundle named txp plugin php ( or something)
  • Create your custom snippet or command, according what you want it to do
  • Assign a key equivalent and/or tab trigger as needed
  • Now in your php file , put your curser/selection according to where you want the replacement or insertion to accur.
  • Copy the scope with Ctrl cmd shift C
  • Paste the Clipboard content in the command’s/ snippet’s scope selector textbox.

One caveat. In case of a php include using the txp native wrapper tag will not give any php scope. Only solution for now is to temporary wrap the code into <?php ?> and then remove it afterwards.
( That is because of the way other Bundles are matching things, they are not supposed to )

Before I forget, one more. the erB Ruby command uses the same shortcut, as the Insert plugin tag command (ctrl shift >), oither keyboard equivalent will need to be changes, if you need the Ruby Bundle enabled ( Which you probably will ).

regards, marios

Last edited by marios (2007-08-30 02:28:30)


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB