Changes

Jump to navigation Jump to search
2,769 bytes added ,  01:57, 28 January 2008
a list of fixes and feature requests for TextMate Bundle
= Feature requests and fixes =

(so that the do not get lost before integrating them into the bundle) --[[User:Mojca Miklavec|Mojca]] 02:55, 28 January 2008 (CET)


== parse_texexec_output.rb ==

* remove
<nowiki>str.gsub!("\n", "<br>")</nowiki>
* add
<nowiki>str = str.gsub(/^.*Insecure world writable dir.*?\n/, '')</nowiki>

*Replace
<nowiki>str = str.gsub(/(.*?):(\d+):(.*)/, "<a href='txmt://open?url=file://#{dir}/#{file}&line=\\2'>\\1:\\2:\\3</a>")</nowiki>
with
<nowiki>str = str.gsub(/(.*?):(\d+):(.*)/, "<a href='txmt://open?url=file://#{dir}/\\1&line=\\2'>\\1:\\2:\\3</a>")</nowiki>
else errors point to wrong locations in case of project structure.


== refresh viewer ==

* http://www.macosxhints.com/article.php?story=20040314102550515&query=tell%2Bmenu%2Bbar%2B1

improve this code & import it into ''open'' link:
pdf=${TM_FILEPATH%tex}pdf

PDFFILE=`echo "${pdf}" | sed -e 's/.[^.]*$/.pdf/'`
PDFBASENAME=`basename ${PDFFILE}`

echo "
tell application \"System Events\"
if exists process \"Preview\" then
tell application \"Preview\" to activate
tell process \"Preview\"
tell menu bar 1
repeat with currentItem in (every menu item of menu \"Window\" of menu bar item \"Window\" whose name contains \"${PDFBASENAME}\")
click currentItem
click menu item \"Close\" of menu \"File\" of menu bar item \"File\"
end repeat
end tell
end tell
end if
end tell
" | osascript
# open ${PDFFILE}

open -a ${PDF_VIEWER:=Preview} "${pdf}"

== $$ pairs ==

create a new ''P''

<nowiki>{ highlightPairs = (
( '(', ')' ),
( '{', '}' ),
( '[', ']' ),
( '$', '$' ),
);
smartTypingPairs = (
( '"', '"' ),
( '(', ')' ),
( '{', '}' ),
( '[', ']' ),
( '$', '$' ),
);
# no idea what that is (copied from text)
unIndentedLinePattern = '^\s*$';
}</nowiki>

== fix env[tab] ==

== add itm[tab] ==

== inclusions for lua (as for metafun) ==

as well as support for --lua switch

== implement metafun syntax & autocomplete ==

== autocomplete ==

Try
<a[alt+esc]
on HTML and implement the same for ConTeXt (try to figure out how to implement that with less ''S''-es).

== add texshow's help ==

Parse XML (or some other form) natively, without the need for web version (or both) and display html window.

== [opt+R] on projects ==

Any chance to compile the main file when the file starts with \component?

== scroll down in the log window automatically ==

and blink or something if compilation fails

== add support for automatic open after [opt]+R ==

== add support for a different ConTeXt tree ==

== document creation of autocomplete scripts ==

Navigation menu