From bc9d78a64173bf0ac02abfdcaf7addf6d9a5f963 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 13 Jun 2005 13:36:39 +0000 Subject: [PATCH] cleaning and notes --- core/PFont.java | 22 ---------------------- core/PGraphics.java | 10 ---------- core/todo.txt | 1 + todo.txt | 45 +++++++++++++++++++++++++++++---------------- 4 files changed, 30 insertions(+), 48 deletions(-) diff --git a/core/PFont.java b/core/PFont.java index 9373978d9..6e548e275 100644 --- a/core/PFont.java +++ b/core/PFont.java @@ -644,28 +644,6 @@ public class PFont implements PConstants { }; - /** - * Create a new .vlw font on the fly. See documentation with - * the later version of this constructor. - */ - /* - public PFont(String name, int fontsize) { - this(new Font(name, Font.PLAIN, fontsize), false, true); - } - */ - - - /** - * Create a new .vlw font on the fly. See documentation with - * the later version of this constructor. - */ - /* - public PFont(String name, int fontsize, boolean smooth) { - this(new Font(name, Font.PLAIN, fontsize), false, smooth); - } - */ - - /** * Use reflection to create a new .vlw font on the fly. * This only works with Java 1.3 and higher. diff --git a/core/PGraphics.java b/core/PGraphics.java index b05af5a12..4561d9288 100644 --- a/core/PGraphics.java +++ b/core/PGraphics.java @@ -1792,16 +1792,6 @@ public class PGraphics extends PImage implements PConstants { public void text(String s, float x, float y) { text(s, x, y, 0); - /* - text(s, x, y, 0); - if (textFont != null) { - if (textMode == SCREEN) loadPixels(); - textFont.text(s, x, y, this); - if (textMode == SCREEN) updatePixels(); - } else { - throw new RuntimeException("use textFont() before text()"); - } - */ } diff --git a/core/todo.txt b/core/todo.txt index edd6d97bb..d43b17526 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -71,6 +71,7 @@ CORE / PApplet _ typed version of array functions: _ append(), shorten(), splice, slice, subset, concat, reverse +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1118520656;start=0 _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1114443601;start=0 _ would be cool if could sort w/o the sort class.. _ meaning use reflection to sort objects, just by implementing a few methods diff --git a/todo.txt b/todo.txt index d53a5f09c..c9f1c3ae1 100644 --- a/todo.txt +++ b/todo.txt @@ -21,22 +21,35 @@ _ some sort of path/classpath tester/fixer app for windows _ that " norton" thing in the path makes things a mess _ emacs keybindings -_ ctrl-space to set selection start -_ selection end is just wherever the cursor is after selection set -_ esc-w to copy (clears the mark) -_ ctrl-w to cut (clears the mark) -_ ctrl-y to paste -_ ctrl-s to search inline -_ ctrl-r to search inline backwards -_ esc-% for query replace -_ then y for replace, n for no, ! for all -_ ctrl-up arrow for next empty line up -_ ctrl-down arrow for next empty line down -_ ctrl-left arrow for prev word -_ ctrl-right arrow for next work -_ ctrl-a start of line -_ ctrl-e end of line -_ home/end are beginning/end of document (not line) +_ general (easier to support) +_ ctrl-space to set selection start +_ selection end is just wherever the cursor is after selection set +_ esc-w to copy (clears the mark) +_ ctrl-w to cut (clears the mark) +_ ctrl-y to paste +_ ctrl-up arrow for next empty line up +_ ctrl-down arrow for next empty line down +_ ctrl-left arrow for prev word +_ ctrl-right arrow for next work +_ ctrl-a start of line +_ ctrl-e end of line +_ home/end are beginning/end of document (not line) +_ inline search (ouch) +_ ctrl-s to search inline +_ ctrl-r to search inline backwards +_ esc-% for query replace +_ then y for replace, n for no, ! for all +_ file i/o (ouch ouch) +_ save ctrl-x-s +_ open ctrl-x-f +_ save as ctrl-x-w +_ buffer (tab) movement +_ ctrl-x-b (switch to another tab) +_ ctrl-x-k (close.. not in p5? maybe make this hide tab?) +_ window stuff (probably not) +_ ctrl-x-2 split window +_ ctrl-x-o switch windows +_ ctrl-x-1 single window _ auto-run the javadoc in dist.sh _ doctor a copy of the css file to use p5 defaults