Comments (13)
From Chris.Lonnen on November 22, 2010 23:15:12
Attached is a patch that, when external editor is checked, hides the textarea pane and adjusting the auto-scaling on the window to give 100% of new space to the console window in a resize event. It leaves the toolbar and code tabs visible. If the user wants to see the code, the user can slide the splitpane divider to reveal the code (greyed and locked for editing). When preferences are applied and it is not checked, the divider location, textarea size, and resize weight are restored to their current behavior.
from processing.
From Chris.Lonnen on November 22, 2010 23:22:16
Forgot the attachment.
from processing.
From [email protected] on November 24, 2010 15:33:05
Go ahead and check it in and I'll take a look.
from processing.
From Chris.Lonnen on November 24, 2010 19:01:44
Added in r7456. I'm leaving this open until you try it.
from processing.
From [email protected] on November 25, 2010 17:10:25
Hm, this one's not behaving well on the Mac. I wonder if this isn't the best idea after all, and that people should just make the editor window as small as they'd like instead.
Also wondering whether it makes sense to do this on a PDE level or if it's going to be a per-sketch thing.
...or if we should just keep it the way it was, and instead focus on getting the command line stuff to work better.
from processing.
From Chris.Lonnen on November 25, 2010 17:49:17
What's it doing? I've run it on two macbooks and both look something like the attached photo. I think this is clearer about what external editor mode does, but I'm not a UI designer. Cosmetically, it might be an improvement to shrink the y-dimension of the whole window by the same amount that the editor pane is shrunk to maintain a constant console size.
I'm all for improving the command line stuff, but if I'm remembering correctly it keeps invoking swing, and divorcing the compile process from the GUI was going to be a big pain.
from processing.
From [email protected] on November 26, 2010 01:18:42
Yeah, that's what it's doing, maybe it just /looks/ like it's broken. Hm...
from processing.
From Chris.Lonnen on November 26, 2010 01:24:23
I don't understand what you mean by broken, I suppose. What was the intended behavior?
from processing.
From [email protected] on November 26, 2010 01:27:42
No, that's the intended behavior as stated in the issue title. I just mean that it appears to not be the right solution. If someone were to accidentally check that box, they'd be completely baffled as to what was happening. Or if someone were looking over their shoulder, it wouldn't be apparent what's going on. It gives less of a feel of "running in a different mode where you can't edit" and instead is more like "the PDE is broken and the Editor area has gone missing."
from processing.
From [email protected] on November 26, 2010 02:30:35
FWIW, I agree that this might cause confusion (especially because the tabs are still visible).
Maybe this would work:
- Replace the split pane with the contents in the lower half (the console and error message display) and make sure the buttons (run/stop/etc.) are still there.
- Add some text like "external-editor mode" to the buttons toolbar (or add a checkbox to the toolbar to toggle the ext-edit mode for this sketch).
Just my two cents.
PS: Oh, and another two cents... I like the idea of doing it as a "per-sketch thing"; that would be awesome and save me a lot of clicking when trying to "quickly test that little small thing in a new sketch" while working on "that huge project" in the external editor.
from processing.
From Chris.Lonnen on November 26, 2010 03:10:21
I was envisioning having the Processing editor open like this with the code itself open in the external editor. It reminded me of a control window for a video app. Maybe print bit of text to the console about external editor mode?
If this still isn't looking right, we could roll it back to where it was. The color change wasn't bad. Would a pop-up window, like Android mode, help?
from processing.
From [email protected] on April 16, 2011 19:32:40
Closing this one since the result just seems too awkward.
from processing.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from processing.
Related Issues (20)
- Flatpak version is using out of date freedesktop runtime HOT 4
- smooth() called on PGraphics throws error HOT 2
- Python Mode has disappeared from the contribution manager window HOT 4
- PGraphics noSmooth compiler error in Processing 4 HOT 2
- Java 17 - error in PApplet HOT 2
- Can't run my program when console is overloaded. HOT 7
- Second shortcut repopulates after capture and deployment HOT 2
- github-actions bot and closing issues after 30 days of last comment HOT 3
- "Missing right curly bracket"}" " is wrong (line.11) HOT 3
- not found core.jar HOT 2
- Could not find a method to load http://.... HOT 2
- Processing-4.0b2 crashes on Fedora 35 HOT 2
- Python Mode not working - Processing 4 on Mac (M1) HOT 4
- Release Processing 3.5.5 HOT 6
- could not run the sketch HOT 4
- Question: No desktop, not headless HOT 3
- Question: Python3 Mode HOT 2
- Please add a dark mode. HOT 2
- P3D not working in Win10 Framebuffer objects are not supported HOT 1
- Enhance Error Handling in PGraphicsOpenGL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from processing.