[Ktutorial-commits] SF.net SVN: ktutorial:[170] trunk/ktutorial/ktutorial-editor/src
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2010-03-19 18:46:36
|
Revision: 170 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=170&view=rev Author: danxuliu Date: 2010-03-19 18:46:23 +0000 (Fri, 19 Mar 2010) Log Message: ----------- Fix Krazy2 spelling issues Modified Paths: -------------- trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.cpp trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.h trunk/ktutorial/ktutorial-editor/src/view/ReactionTreeItem.cpp Modified: trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.cpp =================================================================== --- trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.cpp 2010-03-19 18:37:33 UTC (rev 169) +++ trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.cpp 2010-03-19 18:46:23 UTC (rev 170) @@ -419,7 +419,7 @@ indentedCode += indentation() + lines[i] + '\n'; } - //If the code ends with '\n', the splitted code will contain an empty end + //If the code ends with '\n', the split code will contain an empty end //element that should be ignored if (!code.endsWith('\n')) { indentedCode += indentation() + lines[lines.count()-1] + '\n'; Modified: trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.h =================================================================== --- trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.h 2010-03-19 18:37:33 UTC (rev 169) +++ trunk/ktutorial/ktutorial-editor/src/serialization/JavascriptExporter.h 2010-03-19 18:46:23 UTC (rev 170) @@ -89,7 +89,7 @@ QHash<QString, int> mVariables; /** - * The curren indentation level. + * The current indentation level. * Increment and decrement it when entering and exiting a code block. */ int mIndentationLevel; @@ -237,7 +237,7 @@ * Adds a new function to mPendingFunctions. * The body will be automatically indented. * - * It is used to queue the writting of functions with custom code specified + * It is used to queue the writing of functions with custom code specified * in reactions, as reactions are written into the setup function of its * step. * Modified: trunk/ktutorial/ktutorial-editor/src/view/ReactionTreeItem.cpp =================================================================== --- trunk/ktutorial/ktutorial-editor/src/view/ReactionTreeItem.cpp 2010-03-19 18:37:33 UTC (rev 169) +++ trunk/ktutorial/ktutorial-editor/src/view/ReactionTreeItem.cpp 2010-03-19 18:46:23 UTC (rev 170) @@ -37,7 +37,7 @@ mResponseCustomCodeItem = 0; mResponseNextStepItem = 0; - //Add two dummy childs, as update method expects always to child items + //Add two dummy children, as update method expects always to child items appendChild(new TextTreeItem(this)); appendChild(new TextTreeItem(this)); update(reaction); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |