Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #202 // Editor with commands

Task description

Take an editor.
Add event handler to editor: After Return was pressed, execute:
  print(userFunction(lineAbove()))
  
That's it.

Now plug in a user function - whatever that may be in the desired "app"-lication [it's a magic word, "APP"!] - to achieve the desired functionality and/or implement the desired commands.

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
575 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
Take an editor.
Add event handler to editor: After Return was pressed, execute:
print(userFunction(lineAbove()))

That's it.

Now plug in a user function - whatever that may be in the desired "app"-lication [it's a magic word, "APP"!] - to achieve the desired functionality and/or implement the desired commands.
}}
2015-08-18 20:58:32  delete 
572 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 322 [visualize]

Snippet ID: #202
Snippet name: Editor with commands
Eternal ID of this version: #202/1
Text MD5: b0209e203ffdab20cd11c49c2565ac77
Author: stefan
Category: editors
Type: Task description
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-22 21:12:28
Source code size: 322 bytes / 7 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1108 / 206
Referenced in: [show references]