Changeset 8584


Ignore:
Timestamp:
02/16/05 13:48:05 (16 years ago)
Author:
piso
Message:

indentStrings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/doc/preferences.html

    r6826 r8584  
    10751075<dl>
    10761076<dd>
    1077 
    10781077If true, the indentation commands
    10791078<a href="commands.html#indentLine">indentLine</a>,
     
    10971096</dl>
    10981097
     1098<code><a name="indentStrings">indentStrings</a></code>
     1099<dl>
     1100<dd>
     1101This property is used to control the indentation of multiline strings in Lisp
     1102mode.
     1103<p>
     1104By default, the second and subsequent lines of multiline strings are not
     1105indented at all and begin at the left margin, like this:
     1106<pre>
     1107        (defun foo ()
     1108          (format t "pretend that this is a
     1109        very long string"))
     1110</pre>
     1111There is one exception. If any line of the string ends with '~', the next line
     1112is indented to line up with the beginning of the string:
     1113<pre>
     1114        (defun foo ()
     1115          (format t "pretend that this is a ~
     1116                     very long string"))
     1117</pre>
     1118If <a href="#indentStrings">indentStrings</a> is true, the second and
     1119subsequent lines of multiline strings are always indented to line up with the
     1120beginning of the string:
     1121<pre>
     1122        (defun foo ()
     1123          (format nil "pretend that this is a
     1124                       very long string"))
     1125</pre>
     1126In general, this is probably not what you want, since it inserts an arbitrary
     1127amount of whitespace in the middle of the string, but if you can live with that
     1128you do end up with better-looking code.
     1129<p>
     1130<b>Default value:</b> false
     1131</dl>
     1132
    10991133<code><a name="jdkDocPath">jdkDocPath</a></code>
    11001134<dl>
Note: See TracChangeset for help on using the changeset viewer.