EditingCode.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <html>
  2. <head>
  3. <title>
  4. Editing Code
  5. </title>
  6. </head>
  7. <body bgcolor="#FFFFFF" vlink="silver" alink="navy" link="navy">
  8. <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
  9. <tr>
  10. <td valign="bottom">
  11. <div align="left">
  12. <b><font face="Tahoma" size="3" color="navy">Editing Code</font></b>
  13. <br>
  14. <font face="Tahoma" size="2">
  15. <a href="TopicGroup_PWL.html">Topic Groups</a>
  16. </font>
  17. </div>
  18. </td>
  19. <td>
  20. <font face="Tahoma" size="1" color="silver">
  21. <div align="right" valign="top">
  22. <a href="http://www.lua.org">Lua homepage</a>
  23. </div>
  24. </font>
  25. </td>
  26. </tr>
  27. <tr valign="top">
  28. <td colspan="2">
  29. <hr size="1" color="#000000" align="top">
  30. <br>
  31. <br>
  32. <font face="Tahoma" size="2">
  33. <p style="text-align: justify">
  34. The LuaEdit code editor acts and proposes features seen in other famous code editors such as Visual
  35. C++<sup>®</sup>, Delphi<sup>®</sup>, etc. It features syntax highlighting, completion proposal list,
  36. bookmarking and more. This section will summarize and briefly explain those features.
  37. <br>
  38. <br>
  39. <ul type="square">
  40. <li><b>Syntax Highlighting</b>
  41. <blockquote style="text-align: justify">
  42. When programming with the LuaEdit code editor, you will notice that keywords such as "if", "function"
  43. and "while" are automatically highlighted according to your <a href=".\EditorSettings.html">highlitghting
  44. settings</a>. Strings, comments and numbers are also automatically highlighted. For strings and comments, they
  45. can be in some circumstaces multiline highlighted. For example, all code, spread on several lines or not, included
  46. in --[[ and --]] delimiters are highlighted as comments because it is also a Lua 5.0 feature. Same thing for strings with [[
  47. and ]] delimiters.
  48. </blockquote>
  49. </li>
  50. <li><b>Completion Proposal List</b>
  51. <blockquote style="text-align: justify">
  52. LuaEdit also provides some integrated tools to shorten development time. The completion proposal list is a list that displays
  53. all matching function, libraries, global variables, etc with the text on left of the cursor. To popup this list while
  54. developping press Ctrl+Space (For physical and logical reasons, the local and global variables are not shown in the list unless they are
  55. 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)).
  56. Once displayed, you may choose an item of the proposed list by double-clicking on that item or pressing one of the following
  57. keys: "Enter", "Space", ".", ")" or "(". To hide the list, simply ckick anywhere else than on the list or press "Escape".
  58. </blockquote>
  59. </li>
  60. <li><b>Parameter Proposition</b>
  61. <blockquote style="text-align: justify">
  62. When writing the call of a function you may want to use the parameter proposition tool. This tool display while programming
  63. the parameters to enter for the that function call. To display the parameter proposition tools press Ctrl+Shift+Space. The
  64. parameter in bold is the current paramter to enter.
  65. </blockquote>
  66. </li>
  67. <br>
  68. <li><b>Bookmarking</b>
  69. <blockquote style="text-align: justify">
  70. Bookmarks have been designed to easily and quickly switch from a place in a script to another. This can save lots of development
  71. time and prevent confusions while developing. Up to 10 bookmarks per unit are available to use anywhere in a script.
  72. <img src="..\Medias\ToggleBookmark.jpg" border="0" alt="Picture 1.1" align="right" width="196" height="255" hspace="15" vspace="15">
  73. 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
  74. popup menu by right-clicking on the code editor and finally "Toggle Bookmark" (Picture 1.1). To go to a toggled bookmark press
  75. 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
  76. editor and finally "Goto Bookmark" (Similar to Picture 1.1)
  77. </blockquote>
  78. </li>
  79. <li><b>Regular Actions</b>
  80. <blockquote style="text-align: justify">
  81. Of course, the code editor exposed regular actions such as cut, copy, paste, block indent, block unindent, etc. All
  82. those actions are available through the "Edit" menu in LuaEdit and some of them are also available in the code editor
  83. popup menu.
  84. </blockquote>
  85. </li>
  86. </ul>
  87. </p>
  88. <br>
  89. </font>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td colspan="2">
  94. <font face="Tahoma" size="1" color="silver">
  95. <hr size="1" color="#000000">
  96. <div align="right">
  97. <a href="http://luaedit.luaforge.net">http://luaedit.luaforge.net</a>
  98. <br>
  99. © Copyright 2004-2005 LuaEdit
  100. <br>
  101. LuaEdit v 2.0 for Lua 5.0
  102. </div>
  103. </font>
  104. </td>
  105. </tr>
  106. </table>
  107. </body>
  108. </html>