What is the correct policy for making change to a Bundle in the code repositories?
I want to improve the "Bold" command in the "Dokuwiki" bundle. Currently the command is:
**${TM_SELECTED_TEXT:text}**
Which works, but is rather simplistic. I happen to also use the "MultiMarkdown" bundle which is intelligent, if you hit the key combo (Command-B) while selecting already bolded text, it will un-bold it. if you hit the key combo while no text is selected, then it places the cursor within the bold typing area, etc.
Since "Dokuwiki" and "MultiMarkdown" use the same syntax for bolding (surround text with double '*'), that would mean I would just need to copy the command code from "MultiMarkdown" over to replace the Dokuwiki bundle's version.
I don't want to step on the toes of either Bundle creator (copyright, etc).
---- Brian H binarynomad@gmail.com http://www.binarynomad.com
On Nov 26, 2007, at 3:05 PM, Brian H wrote:
What is the correct policy for making change to a Bundle in the code repositories?
http://wiki.macromates.com/Bundles/HowToContribute
I want to improve the "Bold" command in the "Dokuwiki" bundle. Currently the command is:
Which works, but is rather simplistic. I happen to also use the "MultiMarkdown" bundle which is intelligent, if you hit the key combo (Command-B) while selecting already bolded text, it will un- bold it. if you hit the key combo while no text is selected, then it places the cursor within the bold typing area, etc.
Since "Dokuwiki" and "MultiMarkdown" use the same syntax for bolding (surround text with double '*'), that would mean I would just need to copy the command code from "MultiMarkdown" over to replace the Dokuwiki bundle's version.
I don't want to step on the toes of either Bundle creator (copyright, etc).
Depends which bundle your referring to, the Markdown bundle in the repository supports MultiMarkdown. There is also a dedicated MultiMarkdown bundle not in the repository. Everything in the repository is open source (except a few items which are marked with a license file) so porting it wouldn't be a problem, for the MultiMarkdown bundle you can ask the author there.