| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 675456b commit b8f36d4
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1492,7 +1492,7 @@ public void stopCompoundEdit() { | |||
| 1492 | 1492 | ||
| 1493 | 1493 | ||
| 1494 | 1494 | public int getScrollPosition() { | |
| 1495 | - return textarea.getScrollPosition(); | ||
| 1495 | + return textarea.getVerticalScrollPosition(); | ||
| 1496 | 1496 | } | |
| 1497 | 1497 | ||
| 1498 | 1498 | ||
@@ -1761,22 +1761,22 @@ public void handleAutoFormat() { | |||
| 1761 | 1761 | } else { | |
| 1762 | 1762 | // replace with new bootiful text | |
| 1763 | 1763 | // selectionEnd hopefully at least in the neighborhood | |
| 1764 | - int scrollPos = textarea.getScrollPosition(); | ||
| 1764 | + int scrollPos = textarea.getVerticalScrollPosition(); | ||
| 1765 | 1765 | setText(formattedText); | |
| 1766 | 1766 | setSelection(selectionEnd, selectionEnd); | |
| 1767 | 1767 | ||
| 1768 | 1768 | // Put the scrollbar position back, otherwise it jumps on each format. | |
| 1769 | 1769 | // Since we're not doing a good job of maintaining position anyway, | |
| 1770 | 1770 | // a more complicated workaround here is fairly pointless. | |
| 1771 | 1771 | // http://code.google.com/p/processing/issues/detail?id=1533 | |
| 1772 | - if (scrollPos != textarea.getScrollPosition()) { | ||
| 1772 | + if (scrollPos != textarea.getVerticalScrollPosition()) { | ||
| 1773 | 1773 | // boolean wouldBeVisible = | |
| 1774 | 1774 | // scrollPos >= textarea.getFirstLine() && | |
| 1775 | 1775 | // scrollPos < textarea.getLastLine(); | |
| 1776 | 1776 | // | |
| 1777 | 1777 | // // if it was visible, and now it's not, then allow the scroll | |
| 1778 | 1778 | // if (!(wasVisible && !wouldBeVisible)) { | |
| 1779 | - textarea.setScrollPosition(scrollPos); | ||
| 1779 | + textarea.setVerticalScrollPosition(scrollPos); | ||
| 1780 | 1780 | // } | |
| 1781 | 1781 | } | |
| 1782 | 1782 | getSketch().setModified(true); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -118,7 +118,14 @@ private void updateMenu(JMenu menu) { | |||
| 118 | 118 | menu.removeAll(); | |
| 119 | 119 | String sketchbookPath = Base.getSketchbookFolder().getAbsolutePath(); | |
| 120 | 120 | // String homePath = System.getProperty("user.home"); | |
| 121 | - for (final Record rec : records) { | ||
| 121 | + for (Record rec : records) { | ||
| 122 | + updateMenuRecord(menu, rec, sketchbookPath); | ||
| 123 | + } | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + | ||
| 127 | + private void updateMenuRecord(JMenu menu, final Record rec, String sketchbookPath) { | ||
| 128 | + try { | ||
| 122 | 129 | String recPath = new File(rec.getPath()).getParent(); | |
| 123 | 130 | String purtyPath = null; | |
| 124 | 131 | ||
@@ -197,6 +204,11 @@ public void actionPerformed(ActionEvent e) { | |||
| 197 | 204 | }); | |
| 198 | 205 | //menu.add(item); | |
| 199 | 206 | menu.insert(item, 0); | |
| 207 | + | ||
| 208 | + } catch (Exception e) { | ||
| 209 | + // Strange things can happen... report them for the geeky and move on: | ||
| 210 | + // https://github.com/processing/processing/issues/2463 | ||
| 211 | + e.printStackTrace(); | ||
| 200 | 212 | } | |
| 201 | 213 | } | |
| 202 | 214 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,29 @@ | |||
| 1 | 1 | 0226 core | |
| 2 | 2 | X fix parsing with missing categorical values | |
| 3 | + X fix for splice() throwing a ClassCastException with other object types | ||
| 4 | + X https://github.com/processing/processing/issues/1445 | ||
| 5 | + X https://github.com/processing/processing/pull/2461 | ||
| 6 | + X add candDraw() method to the retina renderer | ||
| 7 | + X fix sketchPath() issue when used in another environment | ||
| 8 | + | ||
| 9 | + andres | ||
| 10 | + X Fonts from loadFont() show up as blocks in P3D (regression) | ||
| 11 | + X https://github.com/processing/processing/issues/2465 | ||
| 12 | + | ||
| 13 | + _ "Buffers have not been created" error for sketches w/o draw() | ||
| 14 | + _ https://github.com/processing/processing/issues/2469 | ||
| 15 | + _ could not reproduce | ||
| 16 | + | ||
| 17 | + net | ||
| 18 | + X add disconnectEvent() to Server | ||
| 19 | + X https://github.com/processing/processing/pull/2466 | ||
| 20 | + X https://github.com/processing/processing/issues/2133 | ||
| 21 | + _ decide how this should actually be handled | ||
| 22 | + _ was disconnect always there? | ||
| 23 | + _ will need documentation | ||
| 24 | + _ modernize Client/Server code to use synchronized lists | ||
| 25 | + _ do we let people use the public vars in Server and Client? | ||
| 26 | + _ are they documented? | ||
| 3 | 27 | ||
| 4 | 28 | ||
| 5 | 29 | _ XML.getChildren() throwing NPE when getInt() called on non-existent var | |
@@ -34,6 +58,7 @@ _ https://github.com/processing/processing/issues/2012 | |||
| 34 | 58 | _ may have been introduced between 2.0b7 and 2.0b8 | |
| 35 | 59 | _ https://github.com/processing/processing/issues/2275 | |
| 36 | 60 | _ https://github.com/processing/processing/issues/2276 | |
| 61 | + _ https://github.com/processing/processing/issues/2483 | ||
| 37 | 62 | _ add option to have full screen span across screens | |
| 38 | 63 | _ display=all in cmd line | |
| 39 | 64 | _ sketchDisplay() -> 0 for all, or 1, 2, 3... | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,24 @@ | |||
| 1 | 1 | 0226 pde | |
| 2 | + X sketches only starting once, or half-starting and hanging | ||
| 3 | + X https://github.com/processing/processing/issues/2402 | ||
| 4 | + X https://github.com/processing/processing/pull/2455 | ||
| 5 | + X reopen current sketch in new mode editor if file extension is compatible | ||
| 6 | + X https://github.com/processing/processing/pull/2457 | ||
| 7 | + X https://github.com/processing/processing/issues/2456 | ||
| 8 | + X crash in the 'recent' menu on startup | ||
| 9 | + X https://github.com/processing/processing/issues/2463 | ||
| 10 | + X sketchbook location is set to an actual sketch (huh?) | ||
| 2 | 11 | ||
| 3 | 12 | ||
| 4 | 13 | high | |
| 14 | + _ exported apps on Windows 64 not working? | ||
| 15 | + _ https://github.com/processing/processing/issues/2468 | ||
| 5 | 16 | _ sketch sometimes simply does not launch | |
| 6 | 17 | _ https://github.com/processing/processing/issues/2402 | |
| 7 | 18 | _ https://github.com/processing/processing/pull/2455 | |
| 8 | 19 | _ exported apps reporting as "damaged" on OS X | |
| 9 | - _ https://github.com/processing/processing/issues/2095 | ||
| 20 | + _ JNA conflicts can be avoided with a -D option | ||
| 21 | + _ https://github.com/processing/processing/issues/2239 | ||
| 10 | 22 | _ QuickReference tool was able to bring down the environment | |
| 11 | 23 | _ https://github.com/processing/processing/issues/2229 | |
| 12 | 24 | _ tab characters not recognized/drawn in the editor (2.1) | |
@@ -23,11 +35,17 @@ _ maybe OS X Java can't look in subfolders? (just auto-adds things) | |||
| 23 | 35 | ||
| 24 | 36 | ||
| 25 | 37 | medium | |
| 38 | + _ import static causes exception (with fix) | ||
| 39 | + _ https://github.com/processing/processing/issues/8 | ||
| 40 | + _ https://github.com/processing/processing/pull/2273 | ||
| 26 | 41 | _ re/move things from Google Code downloads | |
| 27 | 42 | _ https://code.google.com/p/support/wiki/DownloadsFAQ | |
| 28 | 43 | _ actual help with cleaning out the repo | |
| 29 | 44 | _ https://github.com/processing/processing/issues/1898 | |
| 30 | 45 | _ requires re-forking, so still a ton of work | |
| 46 | + _ remove non-web stuff from web | ||
| 47 | + _ remove non-android stuff from android | ||
| 48 | + _ remove web and android from the main repo | ||
| 31 | 49 | _ add font fixes to the rest of the API | |
| 32 | 50 | _ https://github.com/processing/processing/commit/eaff673d173b2d27f276cf5c59e3abf6c0fab86b | |
| 33 | 51 | _ g2.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, | |
@@ -37,8 +55,6 @@ _ https://github.com/processing/processing/issues/2349 | |||
| 37 | 55 | _ (we can do this now since we're actually doing the embedding) | |
| 38 | 56 | _ get stack trace issues with NPE | |
| 39 | 57 | _ https://github.com/processing/processing/pull/2359 | |
| 40 | - _ JNA conflicts can be avoided with a -D option | ||
| 41 | - _ https://github.com/processing/processing/issues/2239 | ||
| 42 | 58 | _ dataPath() not working when app is not run from app dir | |
| 43 | 59 | _ https://github.com/processing/processing/issues/2195 | |
| 44 | 60 | _ should default to the local Java on Windows and Linux | |
@@ -69,14 +85,17 @@ _ emacs style errors in commander aren't quite right | |||
| 69 | 85 | _ https://github.com/processing/processing/issues/2158 | |
| 70 | 86 | _ export application folder location (for Manindra) | |
| 71 | 87 | _ https://github.com/processing/processing/issues/2399 | |
| 72 | - _ import static causes exception (with fix) | ||
| 73 | - _ https://github.com/processing/processing/issues/8 | ||
| 74 | - _ https://github.com/processing/processing/pull/2273 | ||
| 75 | 88 | _ add documentation for how to run mode development from Eclipse | |
| 76 | 89 | _ implementation/changes from JDF | |
| 90 | + _ modes are being loaded multiple times, which can cause trouble | ||
| 91 | + _ add minimum version required (or max version?) to libraries/modes/etc | ||
| 77 | 92 | ||
| 78 | 93 | ||
| 79 | 94 | pulls | |
| 95 | + _ if/else formatting is broken | ||
| 96 | + _ https://github.com/processing/processing/pull/2477 | ||
| 97 | + _ fix for various net issues | ||
| 98 | + _ https://github.com/processing/processing/pull/2475 | ||
| 80 | 99 | _ may need a progress bar for "save as" | |
| 81 | 100 | _ or just the file copy function in general | |
| 82 | 101 | _ since it may take a long time (i.e. 1000s of screen grabs) | |
@@ -489,6 +508,7 @@ _ but don't do this with untitled, cuz it kinda stinks | |||
| 489 | 508 | _ this is too weird--just put examples into individual zip files | |
| 490 | 509 | _ mark example files as untitled | |
| 491 | 510 | _ though will that require the sketch to be saved before export? | |
| 511 | + _ https://github.com/processing/processing/issues/2459 | ||
| 492 | 512 | _ examples window sketches should load in proper environment | |
| 493 | 513 | _ write build.xml file to automatically update the examples | |
| 494 | 514 | _ sketch.isReadOnly returns false for examples coming from multiple modes | |
@@ -565,6 +585,7 @@ _ https://github.com/processing/processing/issues/943 | |||
| 565 | 585 | ||
| 566 | 586 | PDE / Manager | |
| 567 | 587 | ||
| 588 | + _ ability to cancel a download/install | ||
| 568 | 589 | _ we shouldn't use .properties extension for modes, et al | |
| 569 | 590 | _ because a .properties file is iso8859-1 | |
| 570 | 591 | _ make note that .properties file *must* be utf-8 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments