Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
e870364f
Unverified
Commit
e870364f
authored
May 06, 2021
by
Hollow Man
Committed by
GitHub
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix several typos in comments in EditorManager.java & ProjectEditor.java (#2481)
parent
83eb64a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
appinventor/appengine/src/com/google/appinventor/client/editor/EditorManager.java
...c/com/google/appinventor/client/editor/EditorManager.java
+2
-2
appinventor/appengine/src/com/google/appinventor/client/editor/ProjectEditor.java
...c/com/google/appinventor/client/editor/ProjectEditor.java
+6
-6
No files found.
appinventor/appengine/src/com/google/appinventor/client/editor/EditorManager.java
View file @
e870364f
...
...
@@ -287,7 +287,7 @@ public final class EditorManager {
afterSaving
.
execute
();
}
// Set the project modification date to the returned date
// for one of the saved files (it doe
ns
't really matter which one).
// for one of the saved files (it doe
sn
't really matter which one).
if
((
dateHolder
.
date
!=
0
)
&&
(
dateHolder
.
projectId
!=
0
))
{
// We have a date back from the server
Ode
.
getInstance
().
updateModificationDate
(
dateHolder
.
projectId
,
dateHolder
.
date
);
}
...
...
@@ -366,7 +366,7 @@ public final class EditorManager {
* in the same RPC transaction. However we are now sending them separately
* so that we can have more fine grained control over handling errors that
* happen only on one file. In particular, we need to handle the case where
* a trivial blocks workspace is attempting to be written over a non-trival
* a trivial blocks workspace is attempting to be written over a non-triv
i
al
* file.
*
* If any unhandled errors occur while saving, the afterSavingFiles
...
...
appinventor/appengine/src/com/google/appinventor/client/editor/ProjectEditor.java
View file @
e870364f
...
...
@@ -88,7 +88,7 @@ public abstract class ProjectEditor extends Composite {
/**
* Called when the ProjectEditor widget is loaded after having been hidden.
* Subclasses must implement this method, taking responsiblity for causing
* Subclasses must implement this method, taking responsib
i
lity for causing
* the onShow method of the selected file editor to be called and for updating
* any other UI elements related to showing the project editor.
*/
...
...
@@ -96,7 +96,7 @@ public abstract class ProjectEditor extends Composite {
/**
* Called when the ProjectEditor widget is about to be unloaded. Subclasses
* must implement this method, taking responsiblity for causing the onHide
* must implement this method, taking responsib
i
lity for causing the onHide
* method of the selected file editor to be called and for updating any
* other UI elements related to hiding the project editor.
*/
...
...
@@ -194,7 +194,7 @@ public abstract class ProjectEditor extends Composite {
selectedFileEditor
.
onHide
();
}
// Note that we still want to do the following statements even if
// selectedFileEd
ti
or == fileEditor already. This handles the case of switching back
// selectedFileEd
it
or == fileEditor already. This handles the case of switching back
// to a previously opened project from another project.
selectedFileEditor
=
fileEditor
;
deckPanel
.
showWidget
(
index
);
...
...
@@ -296,14 +296,14 @@ public abstract class ProjectEditor extends Composite {
* is only available from the designer. Each WebViewer then
* registers its value here. Each time this hashtable is updated we
* recompute whether or not location permission is needed based on a
* logical OR of all of the WebViwer components registered. Note:
* Even if no WebViewer component requires location permisson, other
* logical OR of all of the WebVi
e
wer components registered. Note:
* Even if no WebViewer component requires location permiss
i
on, other
* components, such as the LocationSensor may require it. That is
* handled via the @UsesPermissions mechanism and is independent of
* this code.
*
* @param componentName The name of the component registering location permission
* @param newVlue either "True" or "False" indicating whether permission is need.
* @param newV
a
lue either "True" or "False" indicating whether permission is need.
*/
public
final
void
recordLocationSetting
(
String
componentName
,
String
newValue
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment