FAQ

From EditPlus Wiki
Revision as of 00:14, 26 October 2004 by 216.41.150.19 (Talk) (How do I make EditPlus open with a blank document?)

Jump to: navigation, search

How do I make EditPlus open with a blank document?

  1. Goto Tools > Preferences > General
  2. Check "Create new document on start up"

Or you can create a shortcut with the /n comand line option Like this "Right-Click" a blank space on your desktop or folder, and choose "New" and then Click "Shortcut" Then simply type in this C:\Program Files\EditPlus\editplus.exe /n

How do I change the output of the HTML toolbar buttons?

  1. Edit the htmlbar.acp file under Program Files\EditPlus 2


How do I change the default HTML template?

  1. Edit the template.html file under Program Files\EditPlus 2


How do I add PHP to the list under File > New?

  1. Create a new file called template.php and save it in Program Files\EditPlus 2
  2. Select File > New > Configure Templates
  3. Click Add, set "Menu text" to PHP and set the "File path" to the location of template.php


How do I make the HTML toolbar appear when editing a CSS or other file type?

  1. Goto Tools > Preferences > Settings & syntax
  2. Select CSS (or the appropriate file type) under "File types"
  3. Check "Show HTML toolbar"


How do I make EditPlus correctly highlight strings in PHP that contain carriage returns/line feeds?

  1. Edit php.stx under Program Files\EditPlus 2
  2. Change #CONTINUE_QUOTE=n to #CONTINUE_QUOTE=y


How do I make EditPlus correctly highlight PHP heredoc strings?

  1. Edit php.stx under Program Files\EditPlus 2
  2. Add the COMMENTON2/COMMENTOFF2 lines below, where EOF is the heredoc identifer you plan to use in your PHP files. Alternatively you can leave out the EOF if you don't plan on having any semicolons in your heredoc strings
  3. Save php.stx
  4. Select Document > Refresh STX/ACP
  5. Select Tools > Preferences > Settings & syntax
  6. Select "PHP" under File types
  7. Select the "Syntax color" tab
  8. Make "Block Comment 2" the same color as Quotation and Quotation 2 (magenta is the default) or choose a unique color for heredoc strings
#COMMENTON2=<<<EOF
#COMMENTOFF2=EOF;


How do I make the Document Selector toolbar two rows high?

  1. Right click on the Document Selector toolbar
  2. Select "Options..."
  3. Set the "Number of rows" to 2


How do I make EditPlus correctly highlight a file with no extension?

  1. Open the file in EditPlus
  2. Select Document > Change File Type
  3. Select the appropriate file syntax

--or--

  1. Select Tools > Preferences
  2. Select Files > Settings & syntax
  3. Select "Default" from the list of filetypes
  4. In the "Syntax file" field, enter the path of the .stx file you want to use for files with not extension