Post date: Apr 29, 2015 2:59:55 AM
適当にメモ
sketch.setCurrentCode(int i): i番目のタブに変更
editor.getLineStartOffset(i) i行目が何文字目から始まるか
editor.getLineStopOffset(i) i行目が何文字目で終わるか(多分改行)
editor.setSelection(editor.getLineStartOffset(i),editor.getLineStopOffset(i)-1); i行目を選択
editor.getLineText(i) i行目の文字列を取得
editor.getSketchLocation() 実行プログラムの座標取得(Pointクラス)