Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Moving Around
         Simple Movement Commands
         Moving in Larger Units
         Searching
         . . .
         Comparing
      Changing Text
         . . .
         Indenting Commands
         Aligning
         Automatically Generated Text
         Spell Checking
         Hex Mode
      Language Modes
         Asm Mode
         Batch Mode
         C Mode
         . . .
         Visual Basic Mode
      . . .

Previous   Up    Next
Aligning  Commands by Topic   Spell Checking


Epsilon User's Manual and Reference > Commands by Topic > Changing Text >

Automatically Generated Text

The copy-file-name command on Ctrl-C Alt-n is a convenient way to put the current buffer's filename onto the clipboard. In a dired buffer, it copies the current line's absolute pathname.

The similar copy-include-file-name on Ctrl-C Alt-i formats the current file's name as an #include command for C mode buffers, and similarly for other languages. It looks for a variable with a name of the form copy-include-file-name-mode, where mode is the current mode name. The variable holds a file name template (see Backup Files) which is used to format the current file's name. If there's a function by that name, not a variable, Epsilon simply calls it. The function can call the copy_line_to_clipboard( ) subroutine after preparing a suitable line.

The insert-date command on Ctrl-C Alt-d inserts the current time and/or date, according to the format specified by the date-format variable.

Standard bindings:

  Ctrl-C Alt-n  copy-file-name
 Ctrl-C Alt-i  copy-include-file-name
 Ctrl-C Alt-d  insert-date
 



Previous   Up    Next
Aligning  Commands by Topic   Spell Checking


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.