Changeset 1499

Show
Ignore:
Timestamp:
07/21/08 20:33:17 (7 weeks ago)
Author:
rob
Message:

User manual updates

Location:
trunk/manual
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/manual/fundamental.rst

    r1484 r1499  
    88================ 
    99 
     10Fundamental mode is the basis for all source code editing modes in peppy. 
     11All of the text editing functions that are common to more than one mode are 
     12generally placed in Fundamental mode.  If you're familiar with object oriented 
     13programming concepts, Fundamental mode is the *superclass* of the other text 
     14editing modes. 
     15 
     16 
     17Hierarchies of Major Modes 
     18-------------------------- 
     19 
     20 
     21 
    1022 
    1123Scintilla and the Styled Text Control 
    1224------------------------------------- 
    1325 
     26Peppy uses the wxPython component called the StyledTextCtrl for its user 
     27interface, which is based on the source code editing component called 
     28Scintilla__.  Scintilla and the StyledTextCtrl supply the highlighting, syntax 
     29coloring, code folding, line numbers, word wrapping, and many more built-in 
     30features.  Additionally, due to the cross-platform nature of both wxPython and 
     31Scintilla, peppy operates in very similarly across the three major classes of 
     32operating systems supported by wxPython: unix-like systems, Windows, and Mac 
     33OS X. 
    1434 
    15 Hierarchies of Major Modes 
    16 -------------------------- 
     35__ www.scintilla.org 
    1736 
    1837 
  • trunk/manual/preferences.rst

    r1475 r1499  
    1010through the GUI.  Those settings that can't must be modified by hand in the 
    1111configuration directory. 
     12 
     13 
     14Using the Preferences Dialog 
     15============================ 
     16 
     17Most of the common configuration options are available through the preferences 
     18dialog.   
     19 
     20...Picture of the preferences dialog goes here... 
     21 
     22 
     23 
     24 
     25Changing Text Styles 
     26==================== 
     27 
     28Font colors and styles are changed using the Edit -> Text Styles dialog.  This 
     29associates particular syntax elements of the text file with styles and colors 
     30specified here.  If you're familiar with Editra__, you'll recognize the text 
     31style dialog: 
     32 
     33...Picture of the text style dialog goes here... 
     34 
     35Peppy uses the same styling system as Editra, and indeed can use the same style 
     36sheets as created by Editra when placed in the proper configuration directory 
     37of peppy.  (See below for more information on configuration files.) 
     38 
     39The convenient characteristic of the Editra styling system is syntax elements 
     40are styled using the same font/color combination regardless of language.  So, 
     41for example, comments in Python will appear the same as comments in C++.  This 
     42leads to a much quicker setup time when configuring peppy to display syntax 
     43elements in the manner that you like. 
     44 
     45__ www.editra.org 
     46 
     47Changing Fonts 
     48-------------- 
     49 
     50The only text styling item not set through the text style dialog is the 
     51specific font used to display the text.  This is set through the main 
     52Preferences dialog, in the General tab and the Fonts item. 
     53 
     54The wxPython StyledTextCtrl uses a single font for the main text, and can 
     55optionally use a separate font for the line numbers.  These fonts are set in 
     56the Preferences dialog: in the General tab, choose the Fonts item and select 
     57the primary editing font (for the main text) and the secondary editing font 
     58(for the line numbers). 
     59 
    1260 
    1361 
     
    4391You can select from any of the languages in the list, and the user interface 
    4492will change immediately.  No need to restart the application! 
    45  
    46  
    47 Changing Text Styles 
    48 ==================== 
    49  
    50 The wxPython StyledTextCtrl uses a single font for the main text, and can 
    51 optionally use a separate font for the line numbers.  These fonts are set in 
    52 the Preferences dialog: in the General tab, choose the Fonts item and select 
    53 the primary editing font (for the main text) and the secondary editing font 
    54 (for the line numbers). 
    55  
    56 Font colors and styles are changed using the Edit -> Text Styles dialog.  This 
    57 associates particular syntax elements of the text file with styles and colors 
    58 specified here. 
    5993 
    6094