Browse Source

Fixed some spelling mistakes in comments

tags/2021-05-28
jules 8 years ago
parent
commit
d4b47809a1
4 changed files with 6 additions and 6 deletions
  1. +1
    -1
      modules/juce_core/files/juce_FileOutputStream.h
  2. +1
    -1
      modules/juce_graphics/placement/juce_RectanglePlacement.h
  3. +3
    -3
      modules/juce_gui_basics/mouse/juce_MouseEvent.h
  4. +1
    -1
      modules/juce_gui_extra/code_editor/juce_CodeDocument.h

+ 1
- 1
modules/juce_core/files/juce_FileOutputStream.h View File

@@ -48,7 +48,7 @@ public:
created or opened (for example, because the parent directory of the file
does not exist), the failedToOpen() method will return true.
If the file already exists when opened, the stream's write-postion will
If the file already exists when opened, the stream's write-position will
be set to the end of the file. To overwrite an existing file,
use File::deleteFile() before opening the stream, or use setPosition(0)
after it's opened (although this won't truncate the file).


+ 1
- 1
modules/juce_graphics/placement/juce_RectanglePlacement.h View File

@@ -28,7 +28,7 @@
//==============================================================================
/**
Defines the method used to postion some kind of rectangular object within
Defines the method used to position some kind of rectangular object within
a rectangular viewport.
Although similar to Justification, this is more specific, and has some extra


+ 3
- 3
modules/juce_gui_basics/mouse/juce_MouseEvent.h View File

@@ -182,21 +182,21 @@ public:
*/
int getDistanceFromDragStart() const noexcept;
/** Returns the difference between the mouse's current x postion and where it was
/** Returns the difference between the mouse's current x position and where it was
when the button was last pressed.
@see getDistanceFromDragStart
*/
int getDistanceFromDragStartX() const noexcept;
/** Returns the difference between the mouse's current y postion and where it was
/** Returns the difference between the mouse's current y position and where it was
when the button was last pressed.
@see getDistanceFromDragStart
*/
int getDistanceFromDragStartY() const noexcept;
/** Returns the difference between the mouse's current postion and where it was
/** Returns the difference between the mouse's current position and where it was
when the button was last pressed.
@see getDistanceFromDragStart


+ 1
- 1
modules/juce_gui_extra/code_editor/juce_CodeDocument.h View File

@@ -59,7 +59,7 @@ public:
class JUCE_API Position
{
public:
/** Creates an uninitialised postion.
/** Creates an uninitialised position.
Don't attempt to call any methods on this until you've given it an owner document
to refer to!
*/


Loading…
Cancel
Save