mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Minor fixes and warning removals for VC7.
This commit is contained in:
parent
7381243506
commit
6a4e8f235c
22 changed files with 192 additions and 97 deletions
|
|
@ -95,7 +95,7 @@ public:
|
|||
else if (lineNum < document.getNumLines())
|
||||
{
|
||||
const CodeDocument::Position pos (&document, lineNum, 0);
|
||||
createTokens (document, pos.getPosition(), pos.getLineText(),
|
||||
createTokens (pos.getPosition(), pos.getLineText(),
|
||||
source, analyser, newTokens);
|
||||
}
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ private:
|
|||
OwnedArray <SyntaxToken> tokens;
|
||||
int highlightColumnStart, highlightColumnEnd;
|
||||
|
||||
static void createTokens (CodeDocument& document, int startPosition, const String& lineText,
|
||||
static void createTokens (int startPosition, const String& lineText,
|
||||
CodeDocument::Iterator& source,
|
||||
CodeTokeniser* analyser,
|
||||
OwnedArray <SyntaxToken>& newTokens)
|
||||
|
|
@ -994,7 +994,7 @@ void CodeEditorComponent::mouseDrag (const MouseEvent& e)
|
|||
moveCaretTo (getPositionAt (e.x, e.y), true);
|
||||
}
|
||||
|
||||
void CodeEditorComponent::mouseUp (const MouseEvent& e)
|
||||
void CodeEditorComponent::mouseUp (const MouseEvent&)
|
||||
{
|
||||
newTransaction();
|
||||
beginDragAutoRepeat (0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue