improved citations command to support dropdown list #5

Closed
wants to merge 68 commits into
from

Conversation

Projects
None yet
2 participants
@tbates
Member

tbates commented Oct 9, 2012

No description provided.

Timothy Bates and others added some commits Sep 12, 2011

Timothy Bates
plist changes
git-svn-id: http://svn.textmate.org/trunk/Bundles/Mediawiki.tmbundle@12064 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
updating for tm2... start
Updated cn to use the new drop down syntax for alternative citation
information needed

Also
1. deleted an old  duplicate snippet (cn and fact)
2. corrected comments in the symbol list syntax
beginning to fix the plist for mediawiki - really just too hard to be…
… worth it when compared to a propoer editor. might leave this in the todo list
@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

comments help explain how this fairly complex regex works

Owner

tbates commented on 31a4b9a May 20, 2012

comments help explain how this fairly complex regex works

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

This doesn't allow for headers where there is no space after ==

This doesn't allow for headers where there is no space after ==

This comment has been minimized.

Show comment Hide comment
@tbates

tbates Jul 13, 2012

Owner

I haven't changed much here except make the comments more self-explanatory

Doesn't the unchanged line 15 allow for no trailing \s with the "*" match, no?

Or are you asking about line 17? That seems fine to me. And the headers appear fine in the symbol list no matter what white space exists in them

Owner

tbates replied Jul 13, 2012

I haven't changed much here except make the comments more self-explanatory

Doesn't the unchanged line 15 allow for no trailing \s with the "*" match, no?

Or are you asking about line 17? That seems fine to me. And the headers appear fine in the symbol list no matter what white space exists in them

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

Sorry this comment was for entirely a different commit. :)

Sorry this comment was for entirely a different commit. :)

@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

letting the markup head match the new font size system

Owner

tbates commented on 9f9f254 May 20, 2012

letting the markup head match the new font size system

@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

like it says on the tin: folding now works in mediawiki

Owner

tbates commented on a43931b May 20, 2012

like it says on the tin: folding now works in mediawiki

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

This doesn't allow for headers where there is no space after ==

This doesn't allow for headers where there is no space after ==

@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

expanding this as needed to match the new heading styles (needs a name for each level, rather than just styling everything as "heading"

Owner

tbates commented on 52a99cb May 20, 2012

expanding this as needed to match the new heading styles (needs a name for each level, rather than just styling everything as "heading"

@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

just letting the system detect files with line 1 being a commented out mediawiki

might be more flexible to look for just this word on line 1

Owner

tbates commented on b4f1d8a May 20, 2012

just letting the system detect files with line 1 being a commented out mediawiki

might be more flexible to look for just this word on line 1

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

With the | in the place that it is this matches near empty lines, not seeing the point of the first half of it.

With the | in the place that it is this matches near empty lines, not seeing the point of the first half of it.

This comment has been minimized.

Show comment Hide comment
@tbates

tbates Jul 13, 2012

Owner

the fist part was to match a line beginning with "=" I've commited a patch make it look for = at the start and end of the non-white space on line 1

Owner

tbates replied Jul 13, 2012

the fist part was to match a line beginning with "=" I've commited a patch make it look for = at the start and end of the non-white space on line 1

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

I think that rule is going to be too loose, simply having a line with = isn't enough I think.

I think that rule is going to be too loose, simply having a line with = isn't enough I think.

This comment has been minimized.

Show comment Hide comment
@tbates

tbates Aug 8, 2012

Owner

fixed, i think

Owner

tbates replied Aug 8, 2012

fixed, i think

@tbates

This comment has been minimized.

Show comment Hide comment
@tbates

tbates May 20, 2012

Owner

this fixed a bug in the file, such that some commands made the wrong level of heading

Owner

tbates commented on c99a643 May 20, 2012

this fixed a bug in the file, such that some commands made the wrong level of heading

@infininight

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jul 13, 2012

This snippet is missing a scope.

This snippet is missing a scope.

infininight and others added some commits Jul 13, 2012

Naming the name value for named references better
string.quoted.mediawiki → string.quoted.ref.name.mediawiki
important bug patch: fixes the problem that
When using a self-closing "ref" tag like <ref name="foo"/>, the syntax coloring stops for the subsequent text.
Merge branch 'master' of git://github.com/textmate/mediawiki.tmbundle
Conflicts:
	Commands/h2.tmCommand
	Commands/h3.tmCommand
	Commands/h4.tmCommand
	Commands/h5.tmCommand
	Preferences/Folding.tmPreferences
	Preferences/Symbol List.tmPreferences
	Snippets/Reference DOI.tmSnippet
	Snippets/Reference PMID.tmSnippet
	Syntaxes/Mediawiki.tmLanguage
	info.plist
mediawiki syntax highling snippet: feel free to add additional lnagua…
…ges to the dropdown as you need them and push to me
optional trailing newline in gallery tag (otherwise </gallery> is not…
… matched because the content fails to match [rior to this being hit
Added comments to the folding preferences to help people understadn w…
…hat has been accomplished (and what is missing)

Removed the automatic addition of a second = inside headings, as this creates unbalanced tags unless there is zero heading content.
1. Added command to reformat tables: makes them MUCH more readable an…
…d maintainable

2. Deleted duplicate table insert
3. Renamed existing snippet to "Insert..." instead of just "table"
4. cleaned plist
@infininight

This comment has been minimized.

Show comment Hide comment
@infininight

infininight Jan 12, 2013

Owner

Went through and cleaned these up merging and pruning where neccesary and have pulled everything with the exception of:

  • 35d178c / 15c32d4: I still feel that the line match is too broad as other languages may use a similar format for headers, etc.
  • 52b7f97: There are currently two of these snippets present, I only kept one of them.
  • c3f6f1f: I left this commit out because of an unclean commit intitially. I did investigated further and found that while it fixed one error it caused another so I left it out for now.

Get with me on IRC if you have any questions, also ask me to help you reset your fork when applicable.

Owner

infininight commented Jan 12, 2013

Went through and cleaned these up merging and pruning where neccesary and have pulled everything with the exception of:

  • 35d178c / 15c32d4: I still feel that the line match is too broad as other languages may use a similar format for headers, etc.
  • 52b7f97: There are currently two of these snippets present, I only kept one of them.
  • c3f6f1f: I left this commit out because of an unclean commit intitially. I did investigated further and found that while it fixed one error it caused another so I left it out for now.

Get with me on IRC if you have any questions, also ask me to help you reset your fork when applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment