Thursday, December 2, 2010

Personalizacja SciTE

Co zmieniamy w .SciTEUser.properties:
# Globals
position.width=800
position.height=960
horizontal.scrollbar=0
toolbar.visible=0

# Element styles
caret.width=2
caret.line.back=#FFFED8

# Sizes and visibility in edit pane
line.margin.visible=1

# Indentation
tabsize=4
indent.size=4

# Unicode
code.page=65001

# Checking
save.session=1

# Global default styles for all languages
if PLAT_GTK
font.base=font:!Bitstream Vera Sans Mono,size:9

# Default
style.*.32=$(font.base),back:#FAFCFA,fore:#000000

Kopiujemy plik cpp.properties do katalogu domowego (tego samego, w którym znajduje się .SciTEUser.properties) i zmieniamy:

keywordclass.cpp2=cout cin string vector pair list iterator

# keywords2 is for highlighting user defined keywords or function calls or similar
#keywords2.$(file.patterns.cpp)=file
keywords2.$(file.patterns.cpp)=$(keywordclass.cpp2)

Na razie wystarczy.

http://www.scintilla.org

No comments:

Post a Comment