Skip to content

Commit bb954ac

Browse files
jbamptonakurtakov
authored andcommitted
misc: fix typos
General spelling clean up
1 parent 7b46268 commit bb954ac

File tree

28 files changed

+44
-44
lines changed

28 files changed

+44
-44
lines changed

bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Edge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ private IUnknown createControllerInitializationCallback(int previousAttempts) {
700700
createInstance(previousAttempts + 1);
701701
} else {
702702
SWT.error(SWT.ERROR_UNSPECIFIED, null,
703-
String.format(" Aborting Edge initialiation after %d retries with result %d", MAXIMUM_CREATION_RETRIES, result));
703+
String.format(" Aborting Edge initialization after %d retries with result %d", MAXIMUM_CREATION_RETRIES, result));
704704
}
705705
break;
706706
}

bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public void create(Composite parent, int style) {
295295
if (version == 0) {
296296
if (IEVersion != 0) {
297297
/*
298-
* By default in Embedded IE the docuemntMode is Quirks(5)
298+
* By default in Embedded IE the documentMode is Quirks(5)
299299
* mode unless !DOCTYPE directives is defined in the HTML.
300300
* As per MSDN IE8 and onwards, there is a way we could hint
301301
* embedded IE to use current documentMode via appropriate

bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8986,7 +8986,7 @@ public void setKeyBinding(int key, int action) {
89868986
int keyInt = key & SWT.KEY_MASK;
89878987
char keyChar = (char)keyInt;
89888988
/**
8989-
* Bug 440535: Make sure the key getting mapped to letter is in defiened
8989+
* Bug 440535: Make sure the key getting mapped to letter is in defined
89908990
* character range and filter out incorrect int to char typecasting. For
89918991
* Example: SWT.KEYPAD_CR int gets wrongly type-cast to char letter 'p'
89928992
*/

bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DND.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public class DND {
9393
/**
9494
* Drag and Drop Operation: During a dragEnter event or a dragOperationChanged, if no modifier keys
9595
* are pressed, the operation is set to DROP_DEFAULT. The application can choose what the default
96-
* operation should be by setting a new value in the operation field. If no value is choosen, the
96+
* operation should be by setting a new value in the operation field. If no value is chosen, the
9797
* default operation for the platform will be selected (value is 1 << 4).
9898
*
9999
* @see DropTargetListener#dragEnter

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ endif
117117

118118
ifndef NO_STRIP
119119
# -s = Remove all symbol table and relocation information from the executable.
120-
# i.e, more efficent code, but removes debug information. Should not be used if you want to debug.
120+
# i.e, more efficient code, but removes debug information. Should not be used if you want to debug.
121121
# https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
122122
# http://stackoverflow.com/questions/14175040/effects-of-removing-all-symbol-table-and-relocation-information-from-an-executab
123123
AWT_LFLAGS := $(AWT_LFLAGS) -s

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
/**
5757
* This class contains native functions for various libraries.
5858
*
59-
* Any dynamic functions must be manually linked to their corresponding library. See os_cutom.h #define FUNC_LIB_* LIB_*
59+
* Any dynamic functions must be manually linked to their corresponding library. See os_custom.h #define FUNC_LIB_* LIB_*
6060
*/
6161
public class OS extends C {
6262
/** OS Constants */

bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ typedef struct {
138138
} SoupMessage;
139139

140140
// To avoid adding hard Gdk dependency and maintain dynamic nature of webkit calls, we re-define Gdk's struct here:
141-
// Alternativley one could include at the top:
141+
// Alternatively one could include at the top:
142142
// #include <gdk/gdk.h>
143143
// and add GTKCFLAGS and GTKLIBS to WEBKITCFLAGS and WEBKITLIBS respectively in make_linux.mak.
144144
typedef struct {

bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk_custom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int fps_cached = 0;
5656
}
5757

5858
void initFPs() {
59-
// Example of a dynamic function initilization.
59+
// Example of a dynamic function initialization.
6060
// INIT_WEBKIT_FP(webkit_web_view_run_javascript_finish);
6161

6262
fps_cached = 1;

bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ private static class Webkit2AsyncToSync {
959959
/** Object used to return data from callback to original call */
960960
private static class Webkit2AsyncReturnObj {
961961
boolean callbackFinished = false;
962-
Object returnValue = null; // As note, if browser is disposed during excution, null is returned.
962+
Object returnValue = null; // As note, if browser is disposed during execution, null is returned.
963963

964964
/** 0=no error. >0 means error. **/
965965
int errorNum = 0;
@@ -2210,7 +2210,7 @@ long webkit_create_web_view (long web_view, long frame) {
22102210
parentBrowser = browser;
22112211
fireOpenWindowListeners.run();// Permit evaluate()/execute() to execute scripts in listener, but do not provide return value.
22122212
} catch (Exception e) {
2213-
throw e; // rethrow execption if thrown, but decrement counter first.
2213+
throw e; // rethrow exception if thrown, but decrement counter first.
22142214
} finally {
22152215
parentBrowser = null;
22162216
nonBlockingEvaluate--;

bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public void moveTo(float x, float y) {
617617
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
618618
/*
619619
* Bug in Cairo. If cairo_move_to() is not called at the
620-
* begining of a subpath, the first cairo_line_to() or
620+
* beginning of a subpath, the first cairo_line_to() or
621621
* cairo_curve_to() segment do not output anything. The fix
622622
* is to detect that the app did not call cairo_move_to()
623623
* before those calls and call it explicitly.

0 commit comments

Comments
 (0)