Hi
As some developer ;) told me i can improve the BB-Bundle by myself. I have done that! How can i contribute now?
The way it is mentioned on this page: http://macromates.com/wiki/Bundles/HowToContribute doesnt work. When i am svn co it copies me the Bundle to the Library but when i double-click it TextMate opens with the Project View and in the sidebar i have the folders "Snippets" "Commands" and so on o_O What's wrong there?
Here are my improvements (so far): 1. Wrap selection as Link vBulleting & phpBB - takes the adress from the pasteboard and places it where it should be. (Taken from the HTML or Markdown Bundle don't know exactly anymore) 2. Wrap selection as Code Block 3. Wrap selection as Quote - takes the whole text from pasteboard and inserts it. It asks to enter the quoted Username, too. 4. Indent > - lets you make an indented text (don't know if that works in phpBB - not tested yet) 5. Strikout - erm strikes the text out
TODO: 1. Outdent < - i haven't figured out yet how to find last occurence of [INDENT] within some indents, delete it, let the text untouched and delete the next [/INDENT]. I was thinking about using some kind of regular expression, but since a i didn't know of RegEx before 3 weeks or so i am very new to this. ;) 2. Integrate "strikeout" to the bundle language.
Thanks! ==================================
Zettt azeitler@zettt.de
==================================
On 10. Mar 2007, at 14:42, Zettt wrote:
As some developer ;) told me i can improve the BB-Bundle by myself. I have done that! How can i contribute now?
Submit a patch to either me or Jacob Rus (or send it here, or join ##textmate on Freenode and talk with either of us).
The way it is mentioned on this page: http://macromates.com/wiki/Bundles/HowToContribute doesnt work. When i am svn co it copies me the Bundle to the Library but when i double-click it TextMate opens with the Project View and in the sidebar i have the folders "Snippets" "Commands" and so on o_O What's wrong there?
So you checked out the bundle to ~/Library, did you reload bundles (or relaunch TM)? if so, does the BBCode bundle show up?
Here are my improvements (so far):
- Wrap selection as Link vBulleting & phpBB - takes the adress
from the pasteboard and places it where it should be. (Taken from the HTML or Markdown Bundle don't know exactly anymore)
We’re going to move that to using a template, see [1] (but of course the command is fine until we do)
[1] http://lists.macromates.com/pipermail/textmate/2007-March/ 017841.html
- Wrap selection as Code Block
- Wrap selection as Quote - takes the whole text from pasteboard and
inserts it. It asks to enter the quoted Username, too. 4. Indent > - lets you make an indented text (don't know if that works in phpBB - not tested yet)
Is indent conceptually the same as quoted?
- Strikout - erm strikes the text out
TODO:
- Outdent < - i haven't figured out yet how to find last occurence of
[INDENT] within some indents, delete it, let the text untouched and delete the next [/INDENT]. I was thinking about using some kind of regular expression, but since a i didn't know of RegEx before 3 weeks or so i am very new to this. ;)
If the grammar marks up [INDENT]…[/INDENT] we can make the command get current scope as stdin and then do the regexp to strip one set of tags -- but we can sort this out later.
- Integrate "strikeout" to the bundle language.
Allan Odgaard-2 wrote:
Submit a patch to either me or Jacob Rus (or send it here, or join ##textmate on Freenode and talk with either of us).
Is indent conceptually the same as quoted?
Hi Allan,
thanks for your help i will join you on Freenode. Since i am not a Programmer the whole day i have a few other things to do. Please be patient.
Yes indent is exact the same as quoted. I have used the same command for this.
Thanks, Zettt
Zettt wrote:
Here are my improvements (so far): …
Haven't tried the bundle yet, but if it's not there already, something similar to this would be a nice feature: http://henrik.nyh.se/2006/08/06/bookmarklet-to-split-bbcode-quoted-replies-i...
Henrik Nyh wrote:
Zettt wrote:
Here are my improvements (so far): …
Haven't tried the bundle yet, but if it's not there already, something similar to this would be a nice feature: http://henrik.nyh.se/2006/08/06/bookmarklet-to-split-bbcode-quoted-replies-i...
This would be a very great feature! As i said before i am new into this whole programming stuff, and im just a hobbyist. But i will try to make this possible...
Thanks for your suggestion. Zettt