Comments (7)
Ok, maybe Shift control O would be better...
from praat.
Ok, maybe Shift control O would be better...
+1
from praat.
To me this destructive command feels like an emergency measure, not something you do all day, so it may not make sense to give it a shortcut. Otherwise, Shift-Command-O it will be, but I think there should also be a warning that all changes will be undone. Please comment.
from praat.
👍 I also use "reopen from disk" often, because external editors have useful facilities (missing from praat's internal editor) which I like: syntax highlighting, code snippets, etc., but when I'm writing a new praat script (or debugging) I often want to run just one or a few lines of code rather than the whole script (so it doesn't make sense to run the whole script from a bash shell).
So I don't think of it as an "emergency measure", and don't really see the need for a warning, since I rarely do serious script development within praat's built-in editor (hence the potential destructiveness is a small risk for me). The proposed Ctrl+Shift+o
seems an acceptable choice.
from praat.
My thoughts are the same as @drammock 's.
As to giving a warning, in my ideal world there would be a pop up with a warning (and hitting enter would mean "ok"), and there would be a check box where one could choose "Don't show again".
from praat.
In my ideal world Praat's editor would be an instance of katepart, which will soon ship with syntax highlighting for Praat.
More seriously, I also agree with @drammock: I normally write in an external editor, and use the internal editor mostly for executing or debugging some scripts. So this behaviour does seem desirable, at least for scripters.
from praat.
OK, good that I asked. So the major use case is when you have an external editor. Then we'll have Shift-Command-O, with a confirmation dialog only in cases where there were changes to the text in Praat's editor (for that majority of users who do use Praat's editor for editing).
from praat.
Related Issues (20)
- boolean in beginPause bug HOT 1
- [feature request] please support reading m4a audio format HOT 1
- number# doesn't work
- Chromebook Lenovo C330 Help! HOT 1
- [Bug] The numberOfFourierSamples may be changed after a window function is applied to the sound data in the menu command "View spectral slice“
- [Feature request] Allow customized placement of pause window continuation buttons
- Hide/show tiers in TextGrid HOT 5
- [Documentation] Missing setting "Attenuation at ceiling" in documentation HOT 1
- On linux/wayland demoShow doesn't immediatly show window
- The 'select earlier/later' shortcut keys do not work in the Linux system.
- Praat v6.4.06 - form/endform - text type - Praat interprets text: numberOfLines, variable$, initialValue$ as text: variable$, initialValue$ HOT 1
- Praat 6.4.06 - Windows 10 - Table: sort rows - GUI issues HOT 1
- Precision issue in test_ HOT 1
- Forms: "Only “choice”, “optionmenu” and “boolean” fields can take a number" for real/positive/integer/natural HOT 1
- Importing vowel marks from table to VowelEditor errors with 'File does not contain valid Table data.' HOT 5
- optionmenu - field type - issue with initialValue parameter HOT 1
- UTF-8 TextGrid saved as UTF-16 HOT 1
- Praat 6.4.13 - Windows 10 - Dialogs still appear after closing them?
- Y
- Praat >v3.6.18 - Bug - `TextGridEditor > Align interval > Include words` insert empty tier
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 praat.