[Sciviews-commits] r392 - in komodo/SciViews-K: . content content/js
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Sep 3 15:47:28 CEST 2011
Author: phgrosjean
Date: 2011-09-03 15:47:28 +0200 (Sat, 03 Sep 2011)
New Revision: 392
Modified:
komodo/SciViews-K/content/RConsoleOverlay.xul
komodo/SciViews-K/content/js/rconsole.js
komodo/SciViews-K/install.rdf
Log:
Further changes in RConsole
Modified: komodo/SciViews-K/content/RConsoleOverlay.xul
===================================================================
--- komodo/SciViews-K/content/RConsoleOverlay.xul 2011-08-16 15:11:15 UTC (rev 391)
+++ komodo/SciViews-K/content/RConsoleOverlay.xul 2011-09-03 13:47:28 UTC (rev 392)
@@ -92,7 +92,7 @@
class="bulletlist-icon"
tooltiptext="Show R command history"
oncommand="sv.rconsole.toggleView();"
- disabled="true"/>
+ disabled="false"/>
<toolbarbutton id="rconsole-close-button"
class="find-stop-icon"
tooltiptext="Clear R Output"
Modified: komodo/SciViews-K/content/js/rconsole.js
===================================================================
--- komodo/SciViews-K/content/js/rconsole.js 2011-08-16 15:11:15 UTC (rev 391)
+++ komodo/SciViews-K/content/js/rconsole.js 2011-09-03 13:47:28 UTC (rev 392)
@@ -434,17 +434,15 @@
sv.r.runEnter();
}
- // Backspace=8, tab=9, enter=13, insert=45, delete=46
- //var isEditKey = (event.keyCode == 8 || event.keyCode == 9 ||
- // event.keyCode == 13 || event.keyCode == 45 ||
- // event.keyCode == 46);
- var str = String.fromCharCode(event.charCode);
- if (str.length && !event.ctrlKey &&
- !event.altKey && !event.metaKey) {
- var editor = ko.views.manager.currentView;
- editor.setFocus();
- editor.scimoz.replaceSel(str);
- }
+ // This does not work because another event is dealing with this
+ // case differently
+ //var str = String.fromCharCode(event.charCode);
+ //if (str.length && !event.ctrlKey &&
+ // !event.altKey && !event.metaKey) {
+ // var editor = ko.views.manager.currentView;
+ // editor.setFocus();
+ // editor.scimoz.replaceSel(str);
+ //}
} catch(e) { }
}
Modified: komodo/SciViews-K/install.rdf
===================================================================
--- komodo/SciViews-K/install.rdf 2011-08-16 15:11:15 UTC (rev 391)
+++ komodo/SciViews-K/install.rdf 2011-09-03 13:47:28 UTC (rev 392)
@@ -4,7 +4,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>sciviewsk at sciviews.org</em:id>
<em:name>SciViews-K</em:name>
- <em:version>0.9.23</em:version>
+ <em:version>0.9.24</em:version>
<em:description>Edit R (http://www.r-project.org) code with Komodo</em:description>
<em:creator>Philippe Grosjean</em:creator>
<em:contributor>Romain Francois</em:contributor>
More information about the Sciviews-commits
mailing list