diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OLEExample.java b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OLEExample.java
index 0e7ea33c97c..2373f748eda 100644
--- a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OLEExample.java
+++ b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OLEExample.java
@@ -159,8 +159,8 @@ void fileOpen() {
OleAutomation player = new OleAutomation(clientSite);
int playURL[] = player.getIDsOfNames(new String[] { "URL" });
if (playURL != null) {
- boolean suceeded = player.setProperty(playURL[0], new Variant(fileName));
- if (!suceeded)
+ boolean succeeded = player.setProperty(playURL[0], new Variant(fileName));
+ if (!succeeded)
disposeClient();
} else {
disposeClient();
diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
index a51d60a0023..e8f8756b619 100644
--- a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
+++ b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
@@ -56,7 +56,7 @@ class OleWebBrowser {
public static final int FrameBeforeNavigate = 200; // Fired when a new hyperlink is being navigated to in a frame.
public static final int FrameNavigateComplete = 201; // Fired when a new hyperlink is being navigated to in a frame.
public static final int FrameNewWindow = 204; // Fired when a new window should be created.
- public static final int Quit = 103; // Fired when application is quiting.
+ public static final int Quit = 103; // Fired when application is quitting.
public static final int WindowMove = 109; // Fired when window has been moved.
public static final int WindowResize = 110; // Fired when window has been sized.
public static final int WindowActivate = 111; // Fired when window has been activated.
@@ -217,7 +217,7 @@ public void Refresh(){
}
/**
- * Aborts loading of the currnet page.
+ * Aborts loading of the current page.
*/
public void Stop() {
// dispid=106, type=METHOD, name="Stop"
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/graphics/GraphicsExample.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/graphics/GraphicsExample.java
index 348fa377ed7..6b7e32358b4 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/graphics/GraphicsExample.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/graphics/GraphicsExample.java
@@ -557,7 +557,7 @@ public void redraw() {
}
/**
- * Sets wheter the canvas is double buffered or not.
+ * Sets whether the canvas is double buffered or not.
*/
public void setDoubleBuffered(boolean doubleBuffered) {
dbItem.setSelection(doubleBuffered);
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/text.txt b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/text.txt
index 6e6b58282b0..4ecf3db41a3 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/text.txt
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/text.txt
@@ -142,7 +142,7 @@ public class StyledText extends Canvas {
Color foreground = null; //
Clipboard clipboard;
boolean mouseDown = false;
- boolean mouseDoubleClick = false; // true=a double click ocurred. Don't do mouse swipe selection.
+ boolean mouseDoubleClick = false; // true=a double click occurred. Don't do mouse swipe selection.
int autoScrollDirection = SWT.NULL; // the direction of autoscrolling (up, down, right, left)
int autoScrollDistance = 0;
int lastTextChangeStart; // cache data of the
@@ -857,7 +857,7 @@ public class StyledText extends Canvas {
writeStyledLine(line, lineOffset, styles, lineBackground);
}
/**
- * Appends the specified line delmimiter to the RTF data.
+ * Appends the specified line delimiter to the RTF data.
*
*
* @param lineDelimiter line delimiter to write as RTF.
@@ -1124,7 +1124,7 @@ public class StyledText extends Canvas {
}
}
/**
- * Appends the specified line delmimiter to the data.
+ * Appends the specified line delimiter to the data.
*
*
* @param lineDelimiter line delimiter to write
@@ -1290,7 +1290,7 @@ public class StyledText extends Canvas {
return rect.x + rect.width + leftMargin + rightMargin;
}
/**
- * Grows the lineWidth array to accomodate new line width
+ * Grows the lineWidth array to accommodate new line width
* information.
*
*
@@ -2840,8 +2840,8 @@ void doMouseSelection() {
/**
* Returns the offset of the word at the specified offset.
* If the current selection extends from high index to low index
- * (i.e., right to left, or caret is at left border of selecton on
- * non-bidi platforms) the start offset of the word preceeding the
+ * (i.e., right to left, or caret is at left border of selection on
+ * non-bidi platforms) the start offset of the word preceding the
* selection is returned. If the current selection extends from
* low index to high index the end offset of the word following
* the selection is returned.
@@ -3810,7 +3810,7 @@ public int getLineHeight() {
/**
* Returns a LineCache implementation. Depending on whether or not
* word wrap is on this may be a line wrapping or line width
- * calculating implementaiton.
+ * calculating implementation.
*
*
* @param content StyledTextContent to create the LineCache on.
@@ -7764,7 +7764,7 @@ void showCaret(int caretLine) {
* Scrolls the specified offset into view.
*
*
- * @param offset offset that should be scolled into view
+ * @param offset offset that should be scrolled into view
*/
void showOffset(int offset) {
int line = content.getLineAtOffset(offset);
@@ -7902,7 +7902,7 @@ void wordWrapResize(int oldClientAreaWidth) {
newTopIndex = content.getLineAtOffset(topOffset);
// topOffset is the beginning of the top line. therefore it
// needs to be adjusted because in a wrapped line this is also
- // the end of the preceeding line.
+ // the end of the preceding line.
if (newTopIndex < content.getLineCount() - 1 &&
topOffset == content.getOffsetAtLine(newTopIndex + 1)) {
newTopIndex++;
diff --git a/features/org.eclipse.swt.tools.feature/feature.xml b/features/org.eclipse.swt.tools.feature/feature.xml
index df4b0b6849e..145eb4e15b4 100644
--- a/features/org.eclipse.swt.tools.feature/feature.xml
+++ b/features/org.eclipse.swt.tools.feature/feature.xml
@@ -2,7 +2,7 @@
diff --git a/tests/build.properties b/tests/build.properties
index 17551236130..f94e1042812 100644
--- a/tests/build.properties
+++ b/tests/build.properties
@@ -16,6 +16,6 @@ tycho.pomless.parent = ../local-build/local-build-parent
pom.model.artifactId = swt-tests
pom.model.property.code.ignoredWarnings = ${tests.ignoredWarnings}
-# Skip all tests on build servers, because it contains platform specific code (overriden to false on platform-specific build machines)
+# Skip all tests on build servers, because it contains platform specific code (overridden to false on platform-specific build machines)
pom.model.property.skipNativeTests = true
pom.model.property.skipTests = ${skipNativeTests}