aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <unknown>2014-07-23 12:57:02 +1000
committerNeil <unknown>2014-07-23 12:57:02 +1000
commitfcdd797b0edfda0e6bbc89f7848c32094efe6669 (patch)
treeccfc7faecafdf9dc71e18e0cee67f3be36e43516 /src/Editor.h
parentfcf7dc58d3dad7efabdcf503512b0729960d5d1a (diff)
downloadscintilla-mirror-fcdd797b0edfda0e6bbc89f7848c32094efe6669.tar.gz
Avoid shadowed names mostly in method prototypes. Turn off shadow
warnings for lexers since they may be maintained by others.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Editor.h b/src/Editor.h
index f36cb9b99..7e505bb09 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -322,8 +322,8 @@ protected: // ScintillaBase subclass needs access to much of Editor
bool SelectionContainsProtected();
int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true) const;
SelectionPosition MovePositionOutsideChar(SelectionPosition pos, int moveDir, bool checkLineEnd=true) const;
- int MovePositionTo(SelectionPosition newPos, Selection::selTypes sel=Selection::noSel, bool ensureVisible=true);
- int MovePositionTo(int newPos, Selection::selTypes sel=Selection::noSel, bool ensureVisible=true);
+ int MovePositionTo(SelectionPosition newPos, Selection::selTypes selt=Selection::noSel, bool ensureVisible=true);
+ int MovePositionTo(int newPos, Selection::selTypes selt=Selection::noSel, bool ensureVisible=true);
SelectionPosition MovePositionSoVisible(SelectionPosition pos, int moveDir);
SelectionPosition MovePositionSoVisible(int pos, int moveDir);
Point PointMainCaret();
@@ -446,7 +446,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void NotifyMacroRecord(unsigned int iMessage, uptr_t wParam, sptr_t lParam);
void ContainerNeedsUpdate(int flags);
- void PageMove(int direction, Selection::selTypes sel=Selection::noSel, bool stuttered = false);
+ void PageMove(int direction, Selection::selTypes selt=Selection::noSel, bool stuttered = false);
enum { cmSame, cmUpper, cmLower };
virtual std::string CaseMapString(const std::string &s, int caseMapping);
void ChangeCaseOfSelection(int caseMapping);
@@ -454,8 +454,8 @@ protected: // ScintillaBase subclass needs access to much of Editor
void Duplicate(bool forLine);
virtual void CancelModes();
void NewLine();
- void CursorUpOrDown(int direction, Selection::selTypes sel=Selection::noSel);
- void ParaUpOrDown(int direction, Selection::selTypes sel=Selection::noSel);
+ void CursorUpOrDown(int direction, Selection::selTypes selt=Selection::noSel);
+ void ParaUpOrDown(int direction, Selection::selTypes selt=Selection::noSel);
int StartEndDisplayLine(int pos, bool start);
virtual int KeyCommand(unsigned int iMessage);
virtual int KeyDefault(int /* key */, int /*modifiers*/);