Skip to content

Commit

Permalink
Adding core-clipboard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Mar 15, 2022
1 parent 76f86aa commit 951f797
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
5 changes: 5 additions & 0 deletions js/core-clipboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

Luwrain.addHook("luwrain.area.region.point.set", function(arg){
Luwrain.speak("Отметка установлена", Luwrain.const.SOUND_REGION_POINT);//FIXME:
return true;
});
21 changes: 0 additions & 21 deletions js/nashorn-clipboard.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
/*
Copyright 2019-2022 Michael Pozhidaev <[email protected]>
This file is part of LUWRAIN.
LUWRAIN is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
LUWRAIN is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/

Luwrain.addHook("luwrain.area.region.point.set", function(arg){
Luwrain.sounds.regionPoint();
Luwrain.speak("Строка " + (arg.y + 1) + ", столбец " + (arg.x + 1) + ", отметка установлена");//FIXME:
return true;
});

Luwrain.addHook("luwrain.clipboard.copy.all", function(arg){
Luwrain.sounds.copied();
Expand Down

0 comments on commit 951f797

Please sign in to comment.