forked from qt-creator/qt-creator
Doc: fix a typo
This commit is contained in:
@@ -386,7 +386,7 @@
|
||||
|
||||
\o Microsoft Console Debugger (CDB)
|
||||
|
||||
\o internal Java Script debugger
|
||||
\o internal JavaScript debugger
|
||||
|
||||
\endlist
|
||||
|
||||
@@ -1078,12 +1078,12 @@
|
||||
|
||||
\section2 Setting Expressions
|
||||
|
||||
You can set Java Script expressions as values of some properties. Click the circle
|
||||
You can set JavaScript expressions as values of some properties. Click the circle
|
||||
icon next to a property to open a context menu, and select \gui {Set Expression}.
|
||||
|
||||
\image qmldesigner-set-expression.png "Element properties context menu"
|
||||
|
||||
For more information on the Java Script environment provided by QML, see
|
||||
For more information on the JavaScript environment provided by QML, see
|
||||
\l{http://doc.qt.nokia.com/4.7-snapshot/qdeclarativejavascript.html}{Integrating JavaScript}.
|
||||
|
||||
\section2 Setting Anchors and Margins
|
||||
@@ -5100,7 +5100,7 @@
|
||||
Qt Creator does not include a debugger. It provides a debugger plugin that acts
|
||||
as an interface between the Qt Creator core and external native debuggers
|
||||
such as the GNU Symbolic Debugger (gdb), the Microsoft Console Debugger (CDB),
|
||||
and a QML/Java Script debugger.
|
||||
and a QML/JavaScript debugger.
|
||||
|
||||
The following sections describe debugging with Qt Creator:
|
||||
|
||||
@@ -5162,7 +5162,7 @@
|
||||
|
||||
\endlist
|
||||
|
||||
\note Debugging QML and Java Script is supported only in plain mode.
|
||||
\note Debugging QML and JavaScript is supported only in plain mode.
|
||||
|
||||
When you click the \gui {Start Debugging} button, the debugger is launched
|
||||
in the appropriate operating mode (plain, terminal, or TRK), based on the
|
||||
@@ -5502,7 +5502,7 @@
|
||||
Select \gui Debug menu options to launch the debugger in other modes.
|
||||
For more information, see \l{Debugger Modes of Operation}.
|
||||
|
||||
\note Debugging QML and Java Script is supported only in plain mode.
|
||||
\note Debugging QML and JavaScript is supported only in plain mode.
|
||||
|
||||
Once the program starts running, it behaves and performs as usual.
|
||||
You can interrupt a running C++ program by selecting \gui{Debug} >
|
||||
@@ -6288,7 +6288,7 @@
|
||||
|
||||
\list
|
||||
|
||||
\o Debug Java Script functions
|
||||
\o Debug JavaScript functions
|
||||
|
||||
\o Preview QML changes at runtime
|
||||
|
||||
@@ -6296,7 +6296,7 @@
|
||||
|
||||
\endlist
|
||||
|
||||
\section1 Debugging Java Script Functions
|
||||
\section1 Debugging JavaScript Functions
|
||||
|
||||
You can use the Qt Creator \gui Debug mode to inspect the state of your
|
||||
application while debugging. You can interact with the debugger in several
|
||||
@@ -6312,15 +6312,15 @@
|
||||
|
||||
\endlist
|
||||
|
||||
\section1 Executing Java Script Expressions
|
||||
\section1 Executing JavaScript Expressions
|
||||
|
||||
When the application is interrupted by a breakpoint, you can use the \gui {QML
|
||||
Script Console} to execute Java Script expressions in the current context. To
|
||||
Script Console} to execute JavaScript expressions in the current context. To
|
||||
open it, choose \gui {Window > View > QML Script Console}.
|
||||
|
||||
\image qml-script-console.png "QML Script Console view"
|
||||
|
||||
You can type Java Script expressions and use them to get information about the
|
||||
You can type JavaScript expressions and use them to get information about the
|
||||
state or your application. For example, property values.
|
||||
|
||||
You can see the current value of a property by hovering over it in the code editor.
|
||||
|
||||
Reference in New Issue
Block a user