123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <html>
- <head>
- <title>
- Editing Code
- </title>
- </head>
- <body bgcolor="#FFFFFF" vlink="silver" alink="navy" link="navy">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
- <tr>
- <td valign="bottom">
- <div align="left">
- <b><font face="Tahoma" size="3" color="navy">Editing Code</font></b>
- <br>
- <font face="Tahoma" size="2">
- <a href="TopicGroup_PWL.html">Topic Groups</a>
- </font>
- </div>
- </td>
- <td>
- <font face="Tahoma" size="1" color="silver">
- <div align="right" valign="top">
- <a href="http://www.lua.org">Lua homepage</a>
- </div>
- </font>
- </td>
- </tr>
- <tr valign="top">
- <td colspan="2">
- <hr size="1" color="#000000" align="top">
- <br>
- <br>
- <font face="Tahoma" size="2">
- <p style="text-align: justify">
- The LuaEdit code editor acts and proposes features seen in other famous code editors such as Visual
- C++<sup>®</sup>, Delphi<sup>®</sup>, etc. It features syntax highlighting, completion proposal list,
- bookmarking and more. This section will summarize and briefly explain those features.
- <br>
- <br>
- <ul type="square">
-
- <li><b>Syntax Highlighting</b>
- <blockquote style="text-align: justify">
- When programming with the LuaEdit code editor, you will notice that keywords such as "if", "function"
- and "while" are automatically highlighted according to your <a href=".\EditorSettings.html">highlitghting
- settings</a>. Strings, comments and numbers are also automatically highlighted. For strings and comments, they
- can be in some circumstaces multiline highlighted. For example, all code, spread on several lines or not, included
- in --[[ and --]] delimiters are highlighted as comments because it is also a Lua 5.0 feature. Same thing for strings with [[
- and ]] delimiters.
- </blockquote>
- </li>
- <li><b>Completion Proposal List</b>
- <blockquote style="text-align: justify">
- LuaEdit also provides some integrated tools to shorten development time. The completion proposal list is a list that displays
- all matching function, libraries, global variables, etc with the text on left of the cursor. To popup this list while
- developping press Ctrl+Space (For physical and logical reasons, the local and global variables are not shown in the list unless they are
- specified in a *.lib file in one of the specified search paths (See the <a href=".\EditorSettings.html">Editor Settings</a> section for more details)).
- Once displayed, you may choose an item of the proposed list by double-clicking on that item or pressing one of the following
- keys: "Enter", "Space", ".", ")" or "(". To hide the list, simply ckick anywhere else than on the list or press "Escape".
- </blockquote>
- </li>
- <li><b>Parameter Proposition</b>
- <blockquote style="text-align: justify">
- When writing the call of a function you may want to use the parameter proposition tool. This tool display while programming
- the parameters to enter for the that function call. To display the parameter proposition tools press Ctrl+Shift+Space. The
- parameter in bold is the current paramter to enter.
- </blockquote>
- </li>
- <br>
- <li><b>Bookmarking</b>
- <blockquote style="text-align: justify">
- Bookmarks have been designed to easily and quickly switch from a place in a script to another. This can save lots of development
- time and prevent confusions while developing. Up to 10 bookmarks per unit are available to use anywhere in a script.
- <img src="..\Medias\ToggleBookmark.jpg" border="0" alt="Picture 1.1" align="right" width="196" height="255" hspace="15" vspace="15">
- To toggle a bookmark press Ctrl+Shift+1 for bookmark #1 or Ctrl+Shift+2 for bookmark #2 and so on or use the code editor
- popup menu by right-clicking on the code editor and finally "Toggle Bookmark" (Picture 1.1). To go to a toggled bookmark press
- Shift+1 for Bookmark #1 or Shift+2 for Bookmark #2 and so on or use the code editor popup menu by right-clicking on the code
- editor and finally "Goto Bookmark" (Similar to Picture 1.1)
- </blockquote>
- </li>
- <li><b>Regular Actions</b>
- <blockquote style="text-align: justify">
- Of course, the code editor exposed regular actions such as cut, copy, paste, block indent, block unindent, etc. All
- those actions are available through the "Edit" menu in LuaEdit and some of them are also available in the code editor
- popup menu.
- </blockquote>
- </li>
- </ul>
- </p>
- <br>
- </font>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <font face="Tahoma" size="1" color="silver">
- <hr size="1" color="#000000">
- <div align="right">
- <a href="http://luaedit.luaforge.net">http://luaedit.luaforge.net</a>
- <br>
- © Copyright 2004-2005 LuaEdit
- <br>
- LuaEdit v 2.0 for Lua 5.0
- </div>
- </font>
- </td>
- </tr>
- </table>
- </body>
- </html>
|