Changeset 1499
- Timestamp:
- 07/21/08 20:33:17 (7 weeks ago)
- Location:
- trunk/manual
- Files:
-
- 2 modified
-
fundamental.rst (modified) (1 diff)
-
preferences.rst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manual/fundamental.rst
r1484 r1499 8 8 ================ 9 9 10 Fundamental mode is the basis for all source code editing modes in peppy. 11 All of the text editing functions that are common to more than one mode are 12 generally placed in Fundamental mode. If you're familiar with object oriented 13 programming concepts, Fundamental mode is the *superclass* of the other text 14 editing modes. 15 16 17 Hierarchies of Major Modes 18 -------------------------- 19 20 21 10 22 11 23 Scintilla and the Styled Text Control 12 24 ------------------------------------- 13 25 26 Peppy uses the wxPython component called the StyledTextCtrl for its user 27 interface, which is based on the source code editing component called 28 Scintilla__. Scintilla and the StyledTextCtrl supply the highlighting, syntax 29 coloring, code folding, line numbers, word wrapping, and many more built-in 30 features. Additionally, due to the cross-platform nature of both wxPython and 31 Scintilla, peppy operates in very similarly across the three major classes of 32 operating systems supported by wxPython: unix-like systems, Windows, and Mac 33 OS X. 14 34 15 Hierarchies of Major Modes 16 -------------------------- 35 __ www.scintilla.org 17 36 18 37 -
trunk/manual/preferences.rst
r1475 r1499 10 10 through the GUI. Those settings that can't must be modified by hand in the 11 11 configuration directory. 12 13 14 Using the Preferences Dialog 15 ============================ 16 17 Most of the common configuration options are available through the preferences 18 dialog. 19 20 ...Picture of the preferences dialog goes here... 21 22 23 24 25 Changing Text Styles 26 ==================== 27 28 Font colors and styles are changed using the Edit -> Text Styles dialog. This 29 associates particular syntax elements of the text file with styles and colors 30 specified here. If you're familiar with Editra__, you'll recognize the text 31 style dialog: 32 33 ...Picture of the text style dialog goes here... 34 35 Peppy uses the same styling system as Editra, and indeed can use the same style 36 sheets as created by Editra when placed in the proper configuration directory 37 of peppy. (See below for more information on configuration files.) 38 39 The convenient characteristic of the Editra styling system is syntax elements 40 are styled using the same font/color combination regardless of language. So, 41 for example, comments in Python will appear the same as comments in C++. This 42 leads to a much quicker setup time when configuring peppy to display syntax 43 elements in the manner that you like. 44 45 __ www.editra.org 46 47 Changing Fonts 48 -------------- 49 50 The only text styling item not set through the text style dialog is the 51 specific font used to display the text. This is set through the main 52 Preferences dialog, in the General tab and the Fonts item. 53 54 The wxPython StyledTextCtrl uses a single font for the main text, and can 55 optionally use a separate font for the line numbers. These fonts are set in 56 the Preferences dialog: in the General tab, choose the Fonts item and select 57 the primary editing font (for the main text) and the secondary editing font 58 (for the line numbers). 59 12 60 13 61 … … 43 91 You can select from any of the languages in the list, and the user interface 44 92 will change immediately. No need to restart the application! 45 46 47 Changing Text Styles48 ====================49 50 The wxPython StyledTextCtrl uses a single font for the main text, and can51 optionally use a separate font for the line numbers. These fonts are set in52 the Preferences dialog: in the General tab, choose the Fonts item and select53 the primary editing font (for the main text) and the secondary editing font54 (for the line numbers).55 56 Font colors and styles are changed using the Edit -> Text Styles dialog. This57 associates particular syntax elements of the text file with styles and colors58 specified here.59 93 60 94
