print2(getFunction("f1Pressed"))
function f1Pressed() luaCall(getBufferText()) end

function f5Pressed()
  print2("f5")
  --clearWorkspace()
  --activateConcept(slipnet.items["red"])
  --activateConcept(slipnet.items["blue"])
end
f5
f5
for i=1,12,1 do
  local s = ""
  s = s .. "function f" .. i .. "Pressed() print2(\"f"..i.."\") end"
  print2(s)
  luaCall(s)
end
function f1Pressed() print2("f1") end
function f2Pressed() print2("f2") end
function f3Pressed() print2("f3") end
function f4Pressed() print2("f4") end
function f5Pressed() print2("f5") end
function f6Pressed() print2("f6") end
function f7Pressed() print2("f7") end
function f8Pressed() print2("f8") end
function f9Pressed() print2("f9") end
function f10Pressed() print2("f10") end
function f11Pressed() print2("f11") end
function f12Pressed() print2("f12") end
f1
f2
f3
f4
f5
f6
f7
f8
f9
f10
f11
f12

print2("hello there")
hello there

setBufferName("functionkeytest.lua")

function f5Pressed() print2("f5") end
function f6Pressed() print2("f6") end
function f7Pressed() print2("f7") end
function f8Pressed() print2("f8") end
function f9Pressed() print2("f9") end
function f10Pressed() print2("f10") end
function f11Pressed() print2("f11") end
function f12Pressed() print2("f12") end
f5
f6
f7
f8
f9
f10
f11
f12
f12
f12
f12
f12
f11
f10
f9
f8
f7
f6
f5

function f5Pressed() print2("f5") end
function f6Pressed() print2("f6") end
function f7Pressed() print2("f7") end
function f8Pressed() print2("f8") end
function f9Pressed() print2("f9") end
function f10Pressed() print2("f10") end
function f11Pressed() print2("f11") end
function f12Pressed() print2("f12") end



f5



function f4Pressed()
  local txt = getSelectedText()
  ps7(txt)
end

(+ 1 2 3)6

