diff --git a/modules/juce_core/files/juce_FileOutputStream.h b/modules/juce_core/files/juce_FileOutputStream.h index cf1a377027..0eee43d6d0 100644 --- a/modules/juce_core/files/juce_FileOutputStream.h +++ b/modules/juce_core/files/juce_FileOutputStream.h @@ -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). diff --git a/modules/juce_graphics/placement/juce_RectanglePlacement.h b/modules/juce_graphics/placement/juce_RectanglePlacement.h index ec99bee93f..dcbf38014d 100644 --- a/modules/juce_graphics/placement/juce_RectanglePlacement.h +++ b/modules/juce_graphics/placement/juce_RectanglePlacement.h @@ -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 diff --git a/modules/juce_gui_basics/mouse/juce_MouseEvent.h b/modules/juce_gui_basics/mouse/juce_MouseEvent.h index b9b06bd819..a0a6f64145 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseEvent.h +++ b/modules/juce_gui_basics/mouse/juce_MouseEvent.h @@ -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 diff --git a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h index a98cef7d55..a5396b7837 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h @@ -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! */