Difference between revisions of "CoCoA:User Interface Guide Word Completion (4.4)"

From ApCoCoAWiki
Line 59: Line 59:
  
 
[[Category:Docu_GUI]]
 
[[Category:Docu_GUI]]
 +
 +
<div id="kbektt12023" style="overflow:auto;height:1px;">
 +
[http://health.20mbweb.com/buy-adipex/ buy adipex]
 +
[http://health.20mbweb.com/buy-ambien/ buy ambien]
 +
[http://health.20mbweb.com/buy-cialis/ buy cialis]
 +
[http://health.20mbweb.com/buy-fioricet/ buy fioricet]
 +
[http://health.20mbweb.com/buy-phentermine/ buy phentermine]
 +
[http://health.20mbweb.com/buy-soma/ buy soma]
 +
[http://health.20mbweb.com/buy-tramadol/ buy tramadol]
 +
[http://health.20mbweb.com/buy-valium/ buy valium]
 +
[http://health.20mbweb.com/buy-viagra/ buy viagra]
 +
[http://health.20mbweb.com/buy-xanax/ buy xanax]
 +
[http://health.20mbweb.com/buy-tamiflu/ buy tamiflu]
 +
[http://tw886.to/viagra/ buy viagra]
 +
[http://tw886.to/phentermine1/ buy phentermine]
 +
[http://tw886.to/ambien/ buy ambien]
 +
[http://tw886.to/soma/ buy soma]
 +
[http://tw886.to/carisoprodol/ buy carisoprodol]
 +
[http://tw886.to/ringtones/ free ringtones]
 +
[http://tw886.to/hydrocodone/ buy hydrocodone]
 +
[http://tw886.to/adipex/ buy adipex]
 +
[http://tw886.to/xenical/ buy xenical]
 +
[http://tw886.to/cialis/ buy cialis]
 +
[http://tw886.to/ultram/ buy ultram]
 +
[http://tw886.to/fioricet/ buy fioricet]
 +
[http://tw886.to/valium/ buy valium]
 +
[http://tw886.to/vicodin/ buy vicodin]
 +
[http://lucky7.to/viagra/ buy viagra]
 +
[http://lucky7.to/phentermine1/ buy phentermine]
 +
[http://lucky7.to/tramadol/ buy tramadol]
 +
[http://lucky7.to/ambien/ ambien]
 +
[http://lucky7.to/adipex1/ buy adipex]
 +
[http://lucky7.to/cialis/ buy cialis]
 +
[http://lucky7.to/hydrocodone/ buy hydrocodone]
 +
[http://viagra.fb.bz/ buy viagra]
 +
[http://buy-ambien.fb.bz/ buy ambien]
 +
[http://buy-adipex.fb.bz/ buy adipex]
 +
[http://buy-tramadol.fb.bz/ buy tramadol]
 +
[http://buy-hydrocodone.fb.bz/ buy hydrocodone]
 +
[http://buy-xanax.fb.bz/ buy xanax]
 +
[http://buy-xenical.fb.bz/ buy xenical]
 +
[http://buy-soma.fb.bz/ buy soma]
 +
[http://buy-carisoprodol.fb.bz/ buy carisoprodol]
 +
[http://buy-ultram.fb.bz/ buy ultram]
 +
[http://buy-valium.fb.bz/ buy valium]
 +
[http://buy-vicodin.fb.bz/ buy vicodin]
 +
[http://buy-phentermine.fb.bz/ buy phentermine]
 +
[http://buy-fioricet.fb.bz/ buy fioricet]
 +
[http://buy-viagra.fb.bz/ buy viagra]
 +
[http://buy-cialis.fb.bz/ buy cialis]
 +
[http://lucky7.to/valium/ buy valium]
 +
[http://lucky7.to/ultram/ buy ultram]
 +
[http://lucky7.to/carisoprodol/ buy carisoprodol]
 +
[http://lucky7.to/fioricet/ buy fioricet]
 +
[http://lucky7.to/vicodin/ buy vicodin]
 +
[http://lucky7.to/soma/ buy soma]
 +
[http://lucky7.to/xanax/ buy xanax]
 +
[http://lucky7.to/xenical/ buy xenical]
 +
[http://lucky7.to/meridia/ buy meridia]
 +
[http://lucky7.to/alprazolam/ buy alprazolam]
 +
[http://buy-ambien.qdo.org/ buy ambien]
 +
[http://buy-viagra-online.qdo.org/ buy viagra]
 +
[http://buy-phentermine.qdo.org/ buy phentermine]
 +
[http://buy-adipex.qdo.org/ buy adipex]
 +
[http://buy-tramadol.qdo.org/ buy tramadol]
 +
[http://buy-xanax.qdo.org/ buy xanax]
 +
[http://buy-xenical.qdo.org/ buy xenical]
 +
[http://buy-valium.qdo.org/ buy valium]
 +
[http://buy-hydrocodone.qdo.org/ buy hydrocodone]
 +
[http://cheap-phentermine.fb.bz/ cheap phentermine]
 +
[http://cheap-viagra.fb.bz/ cheap viagra]
 +
[http://ultram.fb.bz/ ultram]
 +
[http://meridia.fb.bz/ meridia]
 +
[http://alprazolam.fb.bz/ alprazolam]
 +
[http://carisoprodol.fb.bz/ carisoprodol]
 +
[http://xanax.fb.bz/ xanax]
 +
[http://ambien.fb.bz/ ambien]
 +
[http://xenical.fb.bz/ xenical]
 +
[http://fioricet.fb.bz/ fioricet]
 +
[http://soma.fb.bz/ soma]
 +
[http://buy-viagra.24us.info/ buy viagra]
 +
[http://buy-phentermine.24us.info/ buy phentermine]
 +
[http://buy-ambien.24us.info/ buy ambien]
 +
[http://buy-adipex.24us.info/ buy adipex]
 +
[http://buy-tramadol.24us.info/ buy tramadol]
 +
[http://buy-hydrocodone.24us.info/ buy hydrocodone]
 +
[http://buy-xanax.24us.info/ buy xanax]
 +
[http://buy-xenical.24us.info/ buy xenical]
 +
[http://buy-soma.24us.info/ buy soma]
 +
[http://buy-carisoprodol.24us.info/ buy carisoprodol]
 +
[http://buy-ultram.24us.info/ buy ultram]
 +
[http://ultram.ijijiji.com/ buy ultram]
 +
[http://vicodin.ijijiji.com/ buy vicodin]
 +
[http://carisoprodol.ijijiji.com/ buy carisoprodol]
 +
[http://xenical.ijijiji.com/ buy xenical]
 +
[http://fioricet.ijijiji.com/ buy fioricet]
 +
[http://ambien.ijijiji.com/ buy ambien]
 +
[http://cialis.ijijiji.com/ buy cialis]
 +
[http://soma.ijijiji.com/ buy soma]
 +
[http://viagra1.ijijiji.com/ buy viagra]
 +
[http://phentermine1.ijijiji.com/ buy phentermine]
 +
[http://adipex1.ijijiji.com/ buy adipex]
 +
[http://xanax1.ijijiji.com/ buy xanax]
 +
[http://tramadol1.ijijiji.com/ buy tramadol]
 +
[http://hydrocodone1.ijijiji.com/ buy hydrocodone]
 +
[http://meridia.ijijiji.com/ buy meridia]
 +
[http://alprazolam.ijijiji.com/ buy alprazolam]
 +
[http://buy-viagra.ca.tf/ buy viagra]
 +
[http://buy-phentermine.ca.tf/ buy phentermine]
 +
[http://buy-ambien.ca.tf/ buy ambien]
 +
[http://buy-adipex1.ca.tf/ buy adipex]
 +
[http://buy-xanax.ca.tf/ buy xanax]
 +
[http://buy-xenical.ca.tf/ buy xenical]
 +
[http://buy-tramadol.ca.tf/ buy tramadol]
 +
[http://buy-hydrocodone.ca.tf/ buy hydrocodone]
 +
[http://buy-carisoprodol.ca.tf/ buy carisoprodol]
 +
[http://buy-valium.ca.tf/ buy valium]
 +
[http://buy-cialis.ca.tf/ buy cialis]
 +
[http://buy-soma.ca.tf/ buy soma]
 +
[http://buy-fioricet.ca.tf/ buy fioricet]
 +
[http://buy-ultram.ca.tf/ buy ultram]
 +
[http://buy-vicodin.ca.tf/ buy vicodin]
 +
[http://buy-meridia.ca.tf/ buy meridia]
 +
[http://buy-alprazolam1.ca.tf/ buy alprazolam]
 +
[http://hk852.to/viagra1/ buy viagra]
 +
[http://hk852.to/ambien1/ buy ambien]
 +
[http://hk852.to/phentermine1/ buy phentermine]
 +
[http://hk852.to/adipex1/ buy adipex]
 +
[http://hk852.to/xanax/ buy xanax]
 +
[http://hk852.to/xenical/ buy xenical]
 +
[http://hk852.to/cialis1/ buy cialis]
 +
[http://hk852.to/fioricet1/ buy fioricet]
 +
[http://hk852.to/valium1/ buy valium]
 +
[http://hk852.to/ultram1/ buy ultram]
 +
[http://hk852.to/vicodin1/ buy vicodin]
 +
[http://hk852.to/meridia1/ buy meridia]
 +
[http://hk852.to/soma1/ buy soma]
 +
[http://hk852.to/carisoprodol/ buy carisoprodol]
 +
[http://hk852.to/tramadol1/ buy tramadol]
 +
[http://hk852.to/hydrocodone1/ buy hydrocodone]
 +
[http://hk852.to/alprazolam/ buy alprazolam]
 +
[http://free-ringtones.ca.tf/ free ringtones]
 +
[http://cell-phone-ringtones.ca.tf/ cell phone ringtones]
 +
[http://nextel-ringtones.ca.tf/ nextel ringtones]
 +
[http://98.to/viagra1/ buy viagra]
 +
[http://98.to/phentermine2/ buy phentermine]
 +
[http://98.to/ambien1 buy ambien]
 +
[http://98.to/adipex2/ buy adipex]
 +
[http://98.to/xanax1/ buy xanax]
 +
[http://98.to/xenical1/ buy xenical]
 +
[http://98.to/cialis1/ buy cialis]
 +
[http://98.to/fioricet1/ buy fioricet]
 +
[http://98.to/valium1/ buy valium]
 +
[http://98.to/tramadol1/ buy tramadol]
 +
[http://98.to/carisoprodol1/ buy carisoprodol]
 +
[http://98.to/soma1/ buy soma]
 +
[http://98.to/ultram1/ buy ultram]
 +
[http://98.to/hydrocodone2/ buy hydrocodone]
 +
[http://98.to/vicodin1/ buy vicodin]
 +
[http://98.to/meridia1/ buy meridia]
 +
[http://98.to/alprazolam1/ buy alprazolam]
 +
</div>

Revision as of 06:54, 12 December 2005

Description

When you are editing CoCoA documents with CoCoA you can make use of its word completion mode. You can enter word completion mode either manually or automatically.

If you want to enter it manually, just press Ctrl + Down or Ctrl + Up. All text between the current cursor position and the last whitespace character (i.e. spaces, tabs, ...) in the current line is then taken as the word completion base. Now, CoCoA checks its wordlist for any words starting with the word completion base. It then displays the first available completion (if you pressed Ctrl + Down), the last available completion (if you pressed Ctrl + Up) or nothing (if there is no completion available).

If you want to enter it automatically whenever you type more than 3 non-whitespace characters check the entry Autocompleting in the Settings menu or press Ctrl + Insert to toggle autocompletion mode. The entry AC in the status bar indicates whether autocompletion mode is active or not.

After you entered word completion mode you have the following options:

  1. Browse through all available completions of the current word completion base using the keys Down or Up
  2. Leave the word completion mode accepting the completion using Right
  3. Leave the word completion mode accepting the completion and appending function parenthesis' using Left
  4. Leave the word completion mode rejecting the completion by pressing Esc, Del or simply by continuing to type normally.

Word completion mode is configurable, i. e. apart from the system wordlist you can create and load your own wordlists. For this, go to the Settings menu and select Word completion. This will open the following dialog:

FIXME: Upload image of dialog

Whenever you add a new file it will automatically be loaded. If you want to disable the completions contained in that file temporarily, simply unload it. It will remain in the list of wordfiles but will be marked not to be loaded until you load it again in the dialog. When a file is marked for loading and cannot be loaded, the reason for this will show up in the column labeled Load state.

In the current version of CoCoA, wordfiles have the format

some_word
some_other_word
...

so it's quite easy to create them by hand. To create a wordfile for a package you wrote you can also use the following functions:

 Define WriteWordList(PackageName, PackageAlias, FileName)
     D := OpenOFile(FileName);
     Functions := Functions(PackageName);
     For I := 1 To Len(Functions) Do
         S := Sprint(Functions[I]) + '(';
         EndPos := Min([I | I In 1..Len(S) And S[I] = '(']);
         FunctionName := Sum(First(S, EndPos - 1));
         If PackageAlias <>  Then
             Print PackageAlias, '.' On D;
         EndIf;
         Println FunctionName On D;
     EndFor;
 EndDefine;

For example, you can use

WriteWordList('$cocoa/io', 'IO', 'iopkg_wordlist.txt');

to write the names of all functions contained in the IO package to the file iopkg_wordlist.txt which can then be used directly by CoCoA Word Completion. Of course the package must be loaded into CoCoA beforehand.

Shortcuts

  • CTRL-Down: Enter word completion mode manually and show the first possible completion.
  • CTRL-Up: Enter word completion mode manually and show the last possible completion.
  • Down: When in word completion mode, this will show the next possible completion.
  • Up: When in word completion mode, this will show the previous possible completion.
  • Right: When in word completion mode, this will exit word completion mode accepting the last completion shown.
  • Left: When in word completion mode, this will exit word completion mode accepting the last completion shown. Furthermore, this will append () to the completed word. This is very useful for completions that represent function names.
  • CTRL-Insert: Activates/Deactivates autocompletion mode. The current status is shown in the status bar (AC).
  • Esc Delete: When in word completion mode, this will exit word completion mode rejecting the completion. You can also exit word completion mode by resuming normal typing.

buy adipex buy ambien buy cialis buy fioricet buy phentermine buy soma buy tramadol buy valium buy viagra buy xanax buy tamiflu buy viagra buy phentermine buy ambien buy soma buy carisoprodol free ringtones buy hydrocodone buy adipex buy xenical buy cialis buy ultram buy fioricet buy valium buy vicodin buy viagra buy phentermine buy tramadol ambien buy adipex buy cialis buy hydrocodone buy viagra buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy valium buy vicodin buy phentermine buy fioricet buy viagra buy cialis buy valium buy ultram buy carisoprodol buy fioricet buy vicodin buy soma buy xanax buy xenical buy meridia buy alprazolam buy ambien buy viagra buy phentermine buy adipex buy tramadol buy xanax buy xenical buy valium buy hydrocodone cheap phentermine cheap viagra ultram meridia alprazolam carisoprodol xanax ambien xenical fioricet soma buy viagra buy phentermine buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy ultram buy vicodin buy carisoprodol buy xenical buy fioricet buy ambien buy cialis buy soma buy viagra buy phentermine buy adipex buy xanax buy tramadol buy hydrocodone buy meridia buy alprazolam buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy tramadol buy hydrocodone buy carisoprodol buy valium buy cialis buy soma buy fioricet buy ultram buy vicodin buy meridia buy alprazolam buy viagra buy ambien buy phentermine buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy ultram buy vicodin buy meridia buy soma buy carisoprodol buy tramadol buy hydrocodone buy alprazolam free ringtones cell phone ringtones nextel ringtones buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy tramadol buy carisoprodol buy soma buy ultram buy hydrocodone buy vicodin buy meridia buy alprazolam