Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeanyLua: Add the 'single' field to 'geany.fileinfo' #1397

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions geanylua/docs/geanylua-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@
<tr><td width="5%"></td><td><tt>ext</tt> </td><td> -- The file extension, including the dot, e.g. "<b>.DLL</b>" or "<b>.txt</b>"</td></tr>
<tr><td width="5%"></td><td><tt>type</tt> </td><td> -- A one-word description of the filetype, e.g. "<b>C</b>" or "<b>Python</b>".</td></tr>
<tr><td width="5%"></td><td><tt>desc</tt> </td><td> -- A longer description of the filetype, e.g. "<b>Lua source file</b>" or "<b>Cascading StyleSheet</b>".</td></tr>
<tr><td width="5%"></td><td><tt>single</tt> </td><td> -- The line used for a single-line comment, e.g. "<b class="desc">//</b>".</td></tr>
<tr><td width="5%"></td><td><tt>opener</tt> </td><td> -- The string used to begin a comment, e.g. "<b class="desc">&lt;!--</b>".</td></tr>
<tr><td width="5%"></td><td><tt>closer</tt> </td><td> -- The string used to end a comment, e.g. "<b class="desc">--&gt;</b>".</td></tr>
<tr><td width="5%"></td><td><tt>action</tt> </td><td> -- The action command as executed by the context menu</td></tr>
Expand Down
1 change: 1 addition & 0 deletions geanylua/glspi_doc.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ static gint glspi_fileinfo(lua_State* L)
}
SetTableStr("type", FileTypeStr(name));
SetTableStr("desc", FileTypeStr(title));
SetTableStr("single", FileTypeStr(comment_single));
SetTableStr("opener", FileTypeStr(comment_open));
SetTableStr("closer", FileTypeStr(comment_close));
SetTableStr("action", FileTypeStr(context_action_cmd));
Expand Down