aac719f843
Signed-off-by: Don HO <don.h@free.fr> git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@504 f5eea248-9336-0410-98b8-ebc06183d4e3
36 lines
3.2 KiB
HTML
36 lines
3.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html><head><meta content="text/html; charset=UTF-8" http-equiv="content-type"><title>Auto Completion</title>
|
|
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
</head>
|
|
<body><h1>Auto completion</h1>
|
|
|
|
<p style="margin-bottom: 0in;"><font face="Times New Roman, serif">Notepad++
|
|
has autocompletion capabilities, allowing it to finish a word that
|
|
you are typing by giving a list of possible options, or immediately
|
|
inserting it when only one possibility is left (powered by the
|
|
Scintilla component).</font></p>
|
|
<p style="margin-bottom: 0in;"><font face="Times New Roman, serif">There
|
|
are two types of auto completion. </font></p><ul><li><font face="Times New Roman, serif">The first one uses a list of well
|
|
known keywords and provides a hint based on that and goes by the name
|
|
<span style="font-weight: bold;">Function Completion</span>. It is triggered by selecting <span class="menu_item">Edit->Auto-Completion->Function
|
|
Completion</span> or automatically when a certain amount of characters is
|
|
typed (see also </font><a href="Preferences.html#Backup_Auto-Completion"><font face="Times New Roman, serif">Preferences</font></a><font face="Times New Roman, serif">). </font></li><li><font face="Times New Roman, serif">The second one retrieves
|
|
all the words from the current file and provides hinting on that,
|
|
named <span style="font-weight: bold;">Word Completion</span>. This is triggered by selecting <span class="menu_item">Edit->Auto-Completion->>Word
|
|
Completion</span>, or by entering a set number of characters (again, see </font><a href="Preferences.html#Backup_Auto-Completion"><font face="Times New Roman, serif">Preferences</font></a><font face="Times New Roman, serif"><a href="Preferences.html#Backup_Auto-Completion"></a>). Word completion is the only type that can
|
|
automatically finish a word without displaying a list of options
|
|
first.</font></li></ul>
|
|
|
|
<font face="Times New Roman, serif">Somewhat
|
|
related but not exactly the same is the display of <span style="font-weight: bold;">function parameter
|
|
hints, or calltips</span>. This is a small tooltip that will show the
|
|
required parameters (and possibly some details of them) for a
|
|
function a call to which is being edited. This is specifically
|
|
targeted for programming purposes and serves no real value for other
|
|
tasks. The calltip will highlight the current parameter being edited
|
|
for a quick emphasis on what is actually needed. It is purely
|
|
passive and will not modify the text in any way. To trigger a calltip (if one can be found), select <span class="menu_item">Edit->Auto-Completion->Function parameters hint</span>.<p>Autocompletion
|
|
is language based (see <a href="Languages.html">Languages</a>) and has different API files for
|
|
ea<font face="Times New Roman, serif">ch language. For more details on these API files and how to make
|
|
your own, refer to</font>
|
|
<br><a target="_blank" href="http://notepad-plus.wiki.sourceforge.net/Create_AutoComplete"><font face="Times New Roman,serif"> http://apps.sourceforge.net/mediawiki/notepad-plus/index.php?title=Auto Completion</font></a></body></html> |