/jEdit/branches/concurrency/doc/FAQ/faq-use.xml

# · XML · 715 lines · 604 code · 99 blank · 12 comment · 0 complexity · 165b05e5d0af106c2fb4f3df5c6e6812 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <sect1 id="usage">
  3. <title>Usage Questions</title>
  4. <!-- jEdit buffer-local properties: -->
  5. <!-- :indentSize=4:noTabs=false:tabSize=4: -->
  6. <!-- :xml.root=faq.xml: -->
  7. <!-- jEdit FAQ -->
  8. <!-- Copyright (C) 2003 John Gellene, Kris Kopicki -->
  9. <para>This section deals general usage of jEdit, including
  10. customisation.</para>
  11. <qandaset defaultlabel="qanda">
  12. <!--********************************************************* Abrevs -->
  13. <qandadiv id="text-abbrev">
  14. <title>Abbreviations</title>
  15. <qandaentry>
  16. <question id="abbrevs-create-onfly">
  17. <para>How can I create abbreviations <quote>on the
  18. fly</quote> as I type?</para>
  19. </question>
  20. <answer>
  21. <para>Type the form of abbreviation you wish to use, then
  22. without pressing the <keycap>SPACE</keycap> key, press
  23. <keycombo action="simul">
  24. <keycap>CTRL</keycap>
  25. <keycap>;</keycap>
  26. </keycombo>. A dialog will appear for entering text that
  27. goes before and after the editing caret. For example, you
  28. can insert an opening HTML or XML tag before the cursor and
  29. its corresponding closing tag after the cursor. Use the
  30. mouse to select <guilabel>Add global</guilabel> or
  31. <guilabel>Add mode-specific</guilabel>. The first choice
  32. makes the abbreviation available for all documents; the
  33. second makes it available only in documents with the same
  34. editing mode as the current document. In this way, you can
  35. add abbreviations that operate only a particular class of
  36. documents, for example, Java source files or XML markup.
  37. Either way, the abbreviation will be stored for future
  38. use.</para>
  39. </answer>
  40. </qandaentry>
  41. <qandaentry>
  42. <question id="abbrevs-expand-type">
  43. <para>How can I have abbreviations expanded automatically as
  44. I type?</para>
  45. </question>
  46. <answer>
  47. <para>Select
  48. <guimenu>Utilities</guimenu>&gt;<guimenuitem>Global
  49. Options</guimenuitem>, then select the
  50. <guimenuitem>Abbreviations</guimenuitem> option pane. You
  51. will see a checkbox option for <quote>Space bar expands
  52. abbrevs</quote>. Here you can also add, modify and delete
  53. abbreviations on a global basis or for individual editing
  54. modes.</para>
  55. </answer>
  56. </qandaentry>
  57. </qandadiv>
  58. <!--********************************************************* Clippy -->
  59. <qandadiv id="text-clipboard">
  60. <title>Clipboard features</title>
  61. <qandaentry>
  62. <question id="clip-multiple">
  63. <para>Can I copy selections from more than one location in a
  64. document (or more than one document) and paste the aggregate
  65. text in one operation?</para>
  66. </question>
  67. <answer>
  68. <para>The <guimenuitem>Cut Append</guimenuitem> (<keycombo
  69. action="simul">
  70. <keycap>CTRL</keycap>
  71. <keycap>E</keycap>
  72. </keycombo> <keycombo action="simul">
  73. <keycap>CTRL</keycap>
  74. <keycap>U</keycap>
  75. </keycombo>) and <guimenuitem>Copy Append</guimenuitem>
  76. (<keycombo action="simul">
  77. <keycap>CTRL</keycap>
  78. <keycap>E</keycap>
  79. </keycombo> <keycombo action="simul">
  80. <keycap>CTRL</keycap>
  81. <keycap>A</keycap>
  82. </keycombo>) both add the selected text to the existing
  83. contents of the Clipboard. A single
  84. <guimenuitem>Paste</guimenuitem> (<keycombo action="simul">
  85. <keycap>CTRL</keycap>
  86. <keycap>V</keycap>
  87. </keycombo>) command will insert the aggregated text at
  88. the cursor or in place of an existing selection.</para>
  89. </answer>
  90. </qandaentry>
  91. </qandadiv>
  92. <!--********************************************************* Attrib -->
  93. <qandadiv id="file-attributes">
  94. <title>File Attributes</title>
  95. <qandaentry>
  96. <question id="file-owner-preserve">
  97. <para>Does jEdit preserve file ownership and permissions
  98. when it saves files?</para>
  99. </question>
  100. <answer>
  101. <para>One reason this can be an issue is that by default,
  102. jEdit adopts the conservative approach of saving a file to a
  103. temporary name before renaming that file to the desired
  104. name. This procedure minimizes the risk of crashes causing
  105. loss of data, and works without reported problems on local
  106. file systems. However, when files are served remotely by
  107. FTP, Samba or other means, it may not be possible to
  108. preserve file attributes on the server because the newly
  109. created temporary file's owner may differ from the owner of
  110. the original file on the server.</para>
  111. <para>To avoid this problem, you can disable the two-step
  112. file saving routine. Select
  113. <guimenu>Utilities</guimenu>&gt;<guimenuitem>Global
  114. Options</guimenuitem>, then under <guimenuitem>Loading &amp;
  115. Saving</guimenuitem>, clear the checkbox for
  116. <guimenuitem>Two-stage save</guimenuitem>.</para>
  117. </answer>
  118. </qandaentry>
  119. <qandaentry>
  120. <question id="file-linesep-choice">
  121. <para>Why does jEdit ignore my choice for line separator
  122. characters when I save a file?</para>
  123. </question>
  124. <answer>
  125. <para>When jEdit saves an existing file, it uses the line
  126. separator already used by the file. The line separator
  127. designated in the buffer options or elsewhere is used only
  128. for new files.</para>
  129. </answer>
  130. </qandaentry>
  131. <qandaentry>
  132. <question id="file-autodetect-encoding">
  133. <para>Can jEdit auto-detect character encodings when it
  134. opens a file?</para>
  135. </question>
  136. <answer>
  137. <para>Only Unicode can be detected when a file is loaded.
  138. For other encodings, you must specify the encoding when the
  139. file is loaded if you do not wish to use the default
  140. encoding for your operating system.</para>
  141. <para>There are a few features that can help you navigate
  142. through encoding issues. You can select the encoding you
  143. wish to use from <guisubmenu> Encoding</guisubmenu> in the
  144. <guimenu>Commands</guimenu> menu of the File System Browser.
  145. You can also designate a default encoding in the
  146. <guimenuitem>Loading &amp; Saving</guimenuitem> pane of the
  147. Global Options dialog; if you do not, jEdit adopts your
  148. operating system's default encoding as its own default. You
  149. can change the encoding used to save an individual file by
  150. selecting
  151. <guimenu>Utilities</guimenu>&gt;<guimenuitem>Buffer
  152. Options</guimenuitem> and changing the current buffer's
  153. properties. Finally, jEdit keeps track of the encodings used
  154. in the files named in the
  155. <guimenu>File</guimenu>&gt;<guimenuitem>Recent
  156. Files</guimenuitem> drop-down list.</para>
  157. <para>These features allow you to minimize the attention
  158. given to character encodings, but you must still pay some
  159. attention if you do not want to use default settings.</para>
  160. </answer>
  161. </qandaentry>
  162. <qandaentry>
  163. <question id="file-euro-char">
  164. <para>I'm using the iso-8859-1 character encoding. How do I
  165. type and save the Euro sign (<quote>€</quote>)?</para>
  166. </question>
  167. <answer>
  168. <para>You need to use instead the iso-8859-15 character set,
  169. which is a modification of iso-8859-1 that includes the Euro
  170. sign and some Finnish and French characters. The Euro sign
  171. represents character value 0xA4 in this 8-bit set. To open a
  172. file manually using this encoding, select
  173. <guimenu>File</guimenu>&gt;<guimenuitem>Open...
  174. </guimenuitem>, and select
  175. <guimenuitem>ISO8859_15</guimenuitem> from <guimenu>
  176. Commands</guimenu>&gt;<guisubmenu>Enconding</guisubmenu>
  177. before opening the file.</para>
  178. <para>There is a startup script in the
  179. <quote>Downloads</quote> area of <ulink
  180. url="http://community.jedit.org">jEdit Community</ulink>
  181. named <filename>euro.bsh</filename> that can be used as a
  182. startup script to help simplify the insertion of the Euro
  183. symbol if your keyboard currently lacks a dedicated
  184. key.</para>
  185. </answer>
  186. </qandaentry>
  187. </qandadiv>
  188. <!--********************************************************** Files -->
  189. <qandadiv id="file-manage">
  190. <title>File Management</title>
  191. <qandaentry>
  192. <question id="open-dnd">
  193. <para>How can I open files in jEdit using drag and
  194. drop?</para>
  195. </question>
  196. <answer>
  197. <para>Try installing the Drag and Drop plugin using the
  198. Plugin Manager feature. It works with most (but not all)
  199. combinations of operating systems and current Java runtime
  200. environments.</para>
  201. </answer>
  202. </qandaentry>
  203. <qandaentry>
  204. <question id="add-favorites">
  205. <para>How do I add and remove directories to the list of
  206. <quote>favorites</quote> in jEdit's File System
  207. Browser?</para>
  208. </question>
  209. <answer>
  210. <para>To add a directory to the list of favorites, navigate
  211. so that the directory is at the top of the tree displayed in
  212. the File System Browser window, click the
  213. <guimenuitem>Favorites</guimenuitem> button, and select
  214. <guimenuitem>Add to favorites</guimenuitem> from the
  215. resulting menu. To delete a directory from the favorites
  216. list, use the same menu to go to the favorites list.
  217. Right-click on the directory to be deleted and select
  218. <guimenuitem>Delete</guimenuitem>. This operation will
  219. delete the directory from the list of favorites but will
  220. have no effect on the directory itself.</para>
  221. </answer>
  222. </qandaentry>
  223. <qandaentry>
  224. <question id="associate-files">
  225. <para>How do I associate particular file types with jEdit so
  226. I can open them by double clicking their icons in Windows
  227. Explorer?</para>
  228. </question>
  229. <answer>
  230. <para>You associate the file extension with
  231. <userinput><replaceable>&lt;jEdit installation
  232. directory&gt;</replaceable>\jedit.bat</userinput>.
  233. This can be done from the <guimenuitem>File Types</guimenuitem>
  234. tab in the Windows Explorer's <guimenuitem>Tools</guimenuitem>
  235. -&gt; <guimenuitem>Folder options...</guimenuitem> menu.</para>
  236. <para>The EXE-installer for Windows includes a
  237. custom context menu handler. It will provide menu items for
  238. using jEdit any time you right-click on a file icon in
  239. Windows Explorer. This feature does
  240. not interfere with any existing file associations.</para>
  241. </answer>
  242. </qandaentry>
  243. <qandaentry>
  244. <question id="open-restrict-dir">
  245. <para>Can I restrict jEdit to opening and saving files in a
  246. single directory without changing file permissions?</para>
  247. </question>
  248. <answer>
  249. <para>The easiest way to get this kind of behavior is to use
  250. macros that open the Virtual File Browser to a specific,
  251. fixed directory, and then change the default keyboard
  252. shortcuts for opening and saving files to run these
  253. macros.</para>
  254. </answer>
  255. </qandaentry>
  256. <qandaentry>
  257. <question id="filename-uc-to-lc">
  258. <para>On Windows, how can I change the name of my file from
  259. <filename>myfile.txt</filename> to
  260. <filename>MyFile.txt</filename>?</para>
  261. </question>
  262. <answer>
  263. <para>The Windows native file system deals with file names
  264. in a case-insensitive manner, so
  265. <filename>myfile.txt</filename> and
  266. <filename>MyFile.txt</filename> refer to the same file. As a
  267. result, the jEdit file browser treats both spellings
  268. identically and does not make a name change. Using our
  269. example, the easiest workaround is to rename the file in two
  270. steps: first to <filename>_myfile.txt</filename>, then to
  271. <filename>MyFile.txt</filename>.</para>
  272. </answer>
  273. </qandaentry>
  274. </qandadiv>
  275. <!--*********************************************************** Text -->
  276. <qandadiv id="text-format">
  277. <title>Formatting text</title>
  278. <qandaentry>
  279. <question id="text-indent">
  280. <para>How do I indent or unindent selections of text?</para>
  281. </question>
  282. <answer>
  283. <para>Using jEdit's default configuration, you can indent a
  284. selection of text by pressing <keycombo action="simul">
  285. <keycap>ALT</keycap>
  286. <keycap>RIGHT</keycap>
  287. </keycombo>. Unindent a selection by pressing <keycombo
  288. action="simul">
  289. <keycap>ALT</keycap>
  290. <keycap>LEFT</keycap>
  291. </keycombo>.</para>
  292. </answer>
  293. </qandaentry>
  294. <qandaentry>
  295. <question id="text-line-numbers">
  296. <para>Is there a way to automatically view line numbers when
  297. a buffer is opened?</para>
  298. </question>
  299. <answer>
  300. <para><guimenuitem>Select Utilities&gt;Global
  301. Options</guimenuitem>, and in the
  302. <guimenuitem>Gutter</guimenuitem> option pane select the
  303. <guimenuitem>Line Numbering</guimenuitem> check box.</para>
  304. </answer>
  305. </qandaentry>
  306. <qandaentry>
  307. <question id="smart-quote">
  308. <para>Does jEdit know smart quotes? In .tex files I would
  309. like to use <userinput>``</userinput> or
  310. <userinput>''</userinput> instead of
  311. <userinput>"</userinput>.</para>
  312. </question>
  313. <answer>
  314. <para>While jEdit can display any character provided by a
  315. supported encoding set and enter any character supported by
  316. a keyboard driver, it does not have the ability to insert
  317. <quote>smart quote</quote> pairs automatically as some word
  318. processors do. This would require a BeanShell macro to
  319. modify quoted text.</para>
  320. <para>The Accents and CharacterMap plugins can also help you
  321. type international characters.</para>
  322. <para>You also have the option of using a TeX macro (or, in
  323. LaTeX, a pair of environment tags) to have the standard
  324. double quotation mark <userinput>"</userinput> transformed
  325. into the appropriate opening or closing smart quotes without
  326. the need to keep track of when quoted text opens or
  327. closes.</para>
  328. </answer>
  329. </qandaentry>
  330. <qandaentry>
  331. <question id="text-softwrap">
  332. <para>Does jEdit have a <quote>soft</quote> wrap text
  333. mode?</para>
  334. </question>
  335. <answer>
  336. <para>jEdit's 4.3's soft wrap mode, and especially its wrap
  337. to margin=0, is one of its many features that just works
  338. better than it does in most other editing environments. Soft
  339. Wrap with margin=0 was unavailable in jEdit 4.2, but users
  340. of 4.1 will remember it well. When you set SOFT WRAP with a
  341. margin=0, you don't need to use the horizontal scroller
  342. anymore. It's just as simple as that.</para>
  343. <para>jEdit wrap capability can be activated for a specific
  344. buffer, specific editing modes, or for all documents by
  345. default. In prior versions, both the text wrap feature and
  346. the <guimenuitem>Edit&gt;Text&gt;Format
  347. Paragraph</guimenuitem> command insert <quote>hard</quote>
  348. end of line characters. This <quote>hard wrap</quote>
  349. feature remains available as an option for buffers and
  350. editing modes.</para>
  351. </answer>
  352. </qandaentry>
  353. <qandaentry>
  354. <question id="text-display-spaces">
  355. <para>The display of spaces as a character in the editor is
  356. annoying. How can I disable those small square boxes?</para>
  357. </question>
  358. <answer>
  359. <para>This is controlled by the WhiteSpace plugin. To change
  360. your settings to disable display of whitespace characters,
  361. select <guimenuitem>Utilities&gt;Global
  362. Options</guimenuitem>, then select <guimenuitem>Plugin
  363. options&gt;WhiteSpace</guimenuitem>. You can separately
  364. configure the display of spaces, tabs, and other whitespace
  365. characters.</para>
  366. </answer>
  367. </qandaentry>
  368. <qandaentry>
  369. <question id="text-i18n">
  370. <para>Does jEdit support i18n?</para>
  371. </question>
  372. <answer>
  373. <para>When editing text documents, jEdit supports any
  374. available encoding scheme, and can open files with a
  375. specified encoding other than the default encoding of your
  376. operating system using the
  377. <guimenu>Commands</guimenu>&gt;<guisubmenu>Encoding
  378. </guisubmenu> from the File System Browser.</para>
  379. <para>With respect to menu labels, message strings and other
  380. GUI elements, the jEdit project team currently does not have
  381. the resources to maintain multiple property sets in
  382. languages other than English, particularly since the
  383. development effort is continuing at a rapid pace. There has
  384. not been great demand for this in any event. This may be
  385. because jEdit is primarily a tool for programmers, and the
  386. use of English as a common first or second language is
  387. widespread in the global programming community. This
  388. decision may be reconsidered when the application has
  389. further matured and if more individuals express a
  390. willingness to be involved in translation work.</para>
  391. </answer>
  392. </qandaentry>
  393. </qandadiv>
  394. <!--********************************************************* Source -->
  395. <qandadiv id="source-compile">
  396. <title>Compiling source code</title>
  397. <qandaentry>
  398. <question id="compile-java">
  399. <para>How do I compile my Java source in JEdit?</para>
  400. </question>
  401. <answer>
  402. <para>There are a number of plugins that you can use to
  403. compile Java source code. You can run a Java compiler on the
  404. command line in the <quote>System</quote> shell of the
  405. <application>Console</application> plugin. If you are using
  406. the JCompiler plugin, you will have a
  407. <quote>JCompiler</quote> shell in the
  408. <application>Console</application> plugin, and you can run
  409. the <userinput>compile</userinput> command for the current
  410. file, or the <userinput>compilepkg</userinput> command on
  411. all of the current directory's source code files. You can
  412. also use the <quote>Ant</quote> commandos from the
  413. <application>Console</application> plugin or the
  414. <application>AntFarm</application> plugin to run complex
  415. builds on a project of source code files, using a
  416. <filename>build.xml</filename> file to specify build
  417. commands and dependencies.</para>
  418. </answer>
  419. </qandaentry>
  420. <qandaentry>
  421. <question id="source-new-editmode">
  422. <para>How do I create a new edit mode?</para>
  423. </question>
  424. <answer>
  425. <para>Take a look at the <quote>Writing Edit Modes</quote>
  426. section of the User's Guide. Basically, you have to write an
  427. XML file containing data on the mode's file extensions and
  428. buffer and syntax highlighting properties, then add
  429. information about the new mode file to a second XML file
  430. containing a catalog of modes.</para>
  431. </answer>
  432. </qandaentry>
  433. <qandaentry>
  434. <question id="source-docbook">
  435. <para>Does jEdit support DocBook tags?</para>
  436. </question>
  437. <answer>
  438. <para>The application contains editing modes for both SGML
  439. and XML. Using jEdit abbreviations, you can quickly insert
  440. commonly-typed tags with a couple of keystroke. There are a
  441. number of abbreviations in the XML and SGML modes that
  442. create pairs of DocBook tags on the fly.</para>
  443. <para>You can get validation, tree-browsing, auto-complete,
  444. and auto-closing tags with the XML plugin, a very advanced
  445. XML editing tool.</para>
  446. <para>With whe XInsert or Template plugin you can create
  447. multi-layered DocBook elements.</para>
  448. <para>There are other macros targeting DocBook available
  449. from the <ulink url="http://community.jedit.org">jEdit
  450. Community</ulink> web site that you can use or adapt for
  451. your own purposes.</para>
  452. </answer>
  453. </qandaentry>
  454. </qandadiv>
  455. <!--******************************************************* Settings -->
  456. <qandadiv id="emacs-tricks">
  457. <title>Tips for Emacs users</title>
  458. <para>For more emacs help, check out <ulink
  459. url="http://www.clapper.org/software/jedit/">this site</ulink> for
  460. more emacs macros.</para>
  461. <qandaentry>
  462. <question id="settings-emacstab">
  463. <para>Can I have an emacs style tab key (tab anywhere in a
  464. line re-indents it)?</para>
  465. </question>
  466. <answer>
  467. <para>Yes. You can do this by rebinding the
  468. <keycode>tab</keycode> key to <command>Indent Selected
  469. Lines</command> in the <guimenuitem>Global
  470. Options</guimenuitem>.</para>
  471. </answer>
  472. </qandaentry>
  473. <qandaentry>
  474. <question id="settings-emacsctrle">
  475. <para>How do I map Ctrl-E to go to the end of the
  476. line?</para>
  477. </question>
  478. <answer>
  479. <para>jEdit has it set up as a 2-key shortcut. In order to
  480. make Ctrl-E a one-key shortcut again, you first have to
  481. redefine all of the Ctrl-E prefix shortcuts to mean
  482. something else.</para>
  483. <para><literal>jedit_keys.props</literal> shows you all of
  484. the current keyboard bindings. As you can see, Ctrl-e is
  485. used for many things in jEdit. If you want to redefine it to
  486. be a single-key shortcut, first thing you need to do is
  487. decide on another Ctrl-key to use as a prefix, to redefine
  488. jEdit's fold features. I recommend using Ctrl-Q as the
  489. prefix, and if you want to use Ctrl-Q to quit, you have to
  490. hit Ctrl-Q twice. Cut and paste the below shortcuts into
  491. your own properties file.</para>
  492. <programlisting>
  493. # emacs end of line
  494. end.shortcut2=C+e
  495. # Ctrl-Q twice to quit
  496. exit.shortcut=C+q C+q
  497. # C+q is our new C+e prefix
  498. #{{{ C+q C+X
  499. # Unused: f, h, q, y
  500. copy-append.shortcut=C+q C+a
  501. search-in-open-buffers.shortcut=C+q C+b
  502. range-comment.shortcut=C+q C+c
  503. search-in-directory.shortcut=C+q C+d
  504. replace-and-find-next.shortcut=C+q C+g
  505. ignore-case.shortcut=C+q C+i
  506. scroll-to-current-line.shortcut=C+q C+j
  507. line-comment.shortcut=C+q C+k
  508. select-line-range.shortcut=C+q C+l
  509. add-marker.shortcut=C+q C+m
  510. center-caret.shortcut=C+q C+n
  511. open-path.shortcut=C+q C+o
  512. vertical-paste.shortcut=C+q C+p
  513. replace-in-selection.shortcut=C+q C+r
  514. save-all.shortcut=C+q C+s
  515. toggle-line-numbers.shortcut=C+q C+t
  516. cut-append.shortcut=C+q C+u
  517. paste-previous.shortcut=C+q C+v
  518. close-all.shortcut=C+q C+w
  519. regexp.shortcut=C+q C+x
  520. paste-deleted.shortcut=C+q C+y
  521. redo.shortcut=C+q C+z
  522. #}}}
  523. #{{{ C+q C+non-alpha
  524. left-docking-area.shortcut=C+q C+LEFT
  525. top-docking-area.shortcut=C+q C+UP
  526. right-docking-area.shortcut=C+q C+RIGHT
  527. bottom-docking-area.shortcut=C+q C+DOWN
  528. prev-marker.shortcut=C+q C+COMMA
  529. next-marker.shortcut=C+q C+PERIOD
  530. prev-bracket.shortcut=C+q C+OPEN_BRACKET
  531. next-bracket.shortcut=C+q C+CLOSE_BRACKET
  532. close-docking-area.shortcut=C+q C+BACK_QUOTE
  533. #}}}
  534. #{{{ C+q X
  535. # Unused: b e g h j k m o q t y z
  536. add-explicit-fold.shortcut=C+q a
  537. collapse-all-folds.shortcut=C+q c
  538. delete-paragraph.shortcut=C+q d
  539. format-paragraph.shortcut=C+q f
  540. find-previous.shortcut=C+q g
  541. invert-selection.shortcut=C+q i
  542. select-line.shortcut=C+q l
  543. narrow-to-fold.shortcut=C+q n n
  544. narrow-to-selection.shortcut=C+q n s
  545. select-paragraph.shortcut=C+q p
  546. remove-trailing-ws.shortcut=C+q r
  547. select-fold.shortcut=C+q s
  548. insert-literal.shortcut=C+q v
  549. select-word.shortcut=C+q w
  550. parent-fold.shortcut=C+q u
  551. expand-all-folds.shortcut=C+q x
  552. #}}}
  553. </programlisting>
  554. </answer>
  555. </qandaentry>
  556. <qandaentry>
  557. <question id="emacs-ctrl-k">
  558. <para>What about ctrl-K?</para>
  559. </question>
  560. <answer>
  561. <para>Check out <literal>macros/Emacs_Ctrl_K.bsh</literal>.
  562. Bind it to Ctrl-k from the shortcuts option pane.</para>
  563. </answer>
  564. </qandaentry>
  565. </qandadiv>
  566. <qandadiv id="customize-other">
  567. <title>Other Settings and Options</title>
  568. <qandaentry>
  569. <question id="settings-change-font">
  570. <para>How can I change the font used for menu labels and
  571. other elements of jEdit's user interface?</para>
  572. </question>
  573. <answer>
  574. <para>Select
  575. <guimenu>Utilities</guimenu>&gt;<guimenuitem>Global
  576. Options</guimenuitem>, then the
  577. <guimenuitem>Appearance</guimenuitem> option pane. When you
  578. select the <quote>Metal</quote> look and feel you can also
  579. select the fonts used for various displayed items.</para>
  580. </answer>
  581. </qandaentry>
  582. <qandaentry>
  583. <question id="settings-add-classpath">
  584. <para>I want to add a directory to the classpath. I did this
  585. in the standalone BeanShell with ease by using the
  586. <classname>addClassPath(String)</classname> method. but this
  587. doesn't work in a macro. How could I manage the classpath in
  588. jEdit?</para>
  589. </question>
  590. <answer>
  591. <para>The implementation of BeanShell used in jEdit does not
  592. use BeanShell's class loader. The script method contained in
  593. loadJarClasses.bsh (found in the Downloads section of <ulink
  594. url="http://community.jedit.org">jEdit Community</ulink>)
  595. should work if you know the path to a specific class file or
  596. class archive.</para>
  597. </answer>
  598. </qandaentry>
  599. <qandaentry>
  600. <question id="settings-unlisted">
  601. <para>Are there any hidden features?</para>
  602. </question>
  603. <answer>
  604. <para>Yes. You can access them by binding a shortcut to the
  605. action in question. You will find a complete list of
  606. available commands under the
  607. <guimenuitem>Shortcuts</guimenuitem> area in the
  608. <guimenuitem>Global Options</guimenuitem>.</para>
  609. </answer>
  610. </qandaentry>
  611. </qandadiv>
  612. </qandaset>
  613. </sect1>