diff options
| -rw-r--r-- | include/Scintilla.iface | 2 | ||||
| -rw-r--r-- | src/Editor.cxx | 10 | ||||
| -rw-r--r-- | src/KeyMap.cxx | 8 | 
3 files changed, 12 insertions, 8 deletions
| diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 8df06a495..4fa9fd753 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2,7 +2,7 @@  ## This file defines the interface to Scintilla -## Copyright 2000-2002 by Neil Hodgson <neilh@scintilla.org> +## Copyright 2000-2003 by Neil Hodgson <neilh@scintilla.org>  ## The License.txt file describes the conditions under which this software may be distributed.  ## A line starting with ## is a pure comment and should be stripped by readers. diff --git a/src/Editor.cxx b/src/Editor.cxx index c722f80ad..f3d359a7b 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -502,7 +502,9 @@ const char *ControlCharacterString(unsigned char ch) {  	}  } -// Convenience class to ensure LineLayout objects are always disposed. +/** + * Convenience class to ensure LineLayout objects are always disposed. + */  class AutoLineLayout {  	LineLayoutCache &llc;  	LineLayout *ll; @@ -688,8 +690,10 @@ int Editor::PositionFromLineX(int lineDoc, int x) {  	return retVal;  } -// If painting then abandon the painting because a wider redraw is needed. -// Return true if calling code should stop drawing +/** + * If painting then abandon the painting because a wider redraw is needed. + * @return true if calling code should stop drawing. + */  bool Editor::AbandonPaint() {  	if ((paintState == painting) && !paintingAllText) {  		paintState = paintAbandoned; diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index f15842af6..6164a1bb0 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -2,7 +2,7 @@  /** @file KeyMap.cxx   ** Defines a mapping between keystrokes and commands.   **/ -// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> +// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>  // The License.txt file describes the conditions under which this software may be distributed.  #include "Platform.h" @@ -15,7 +15,7 @@ KeyMap::KeyMap() : kmap(0), len(0), alloc(0) {  	for (int i = 0; MapDefault[i].key; i++) {  		AssignCmdKey(MapDefault[i].key,  			MapDefault[i].modifiers, -             		MapDefault[i].msg); +			MapDefault[i].msg);  	}  } @@ -35,7 +35,7 @@ void KeyMap::AssignCmdKey(int key, int modifiers, unsigned int msg) {  		KeyToCommand *ktcNew = new KeyToCommand[alloc + 5];  		if (!ktcNew)  			return; -		for (int k=0;k<len;k++) +		for (int k = 0; k < len; k++)  			ktcNew[k] = kmap[k];  		alloc += 5;  		delete []kmap; @@ -54,7 +54,7 @@ void KeyMap::AssignCmdKey(int key, int modifiers, unsigned int msg) {  }  unsigned int KeyMap::Find(int key, int modifiers) { -	for (int i=0; i < len; i++) { +	for (int i = 0; i < len; i++) {  		if ((key == kmap[i].key) && (modifiers == kmap[i].modifiers)) {  			return kmap[i].msg;  		} | 
