Comments (2)
Isn't that the behavior of cljs.reader/read-string
though? Accepting only one form is reasonable. If someone needed to input more than one form I would assume they're working with a data structure which should be fine. Can you share your thoughts on where being able to have more than one form is useful?
from ankha.
oh - definitely don't think more than one form is useful, this is more of a user experience question - @sgrove's original comments were:
Right now it looks like the reader only take the first token in the text box, e.g. edit #{"a" "b" "c"} edit => 1 #{"a" "b" "c"} confirm => 1. There's no way to undo by default either, so perhaps it's better to catch it as another error?
this is really a user experience issue - ideally we'd either prevent users from entering multiple forms or raise an error when they do. I'm not really sure what the best solution to this is, just feels worth noting in an issue in case anyone has some time to explore.
from ankha.
Related Issues (19)
- Improve toggle button
- Don't let users insert non-associative datastructures HOT 2
- Editing tagged literal in example explodes HOT 1
- Extensibility of IInspect made difficult by cursors HOT 2
- How do I show an editable subset of an atom structure? HOT 1
- An option to have the tree folded by default HOT 2
- Aw, Snap? HOT 2
- global css overrides HOT 1
- Can't inspect sets HOT 1
- Option to start inspector closed? HOT 1
- Warning on `record?` for cljs 3308 HOT 1
- ankha 0.1.5.1-64423e depends on com.cemerick/austin
- Ankha is out of date HOT 2
- JsonView like EDN Viewer HOT 2
- Generalized editor HOT 3
- Ankha doesn't work with Om 6.0 onwards HOT 7
- Differences!! HOT 9
- Make datastructure leaves editable HOT 1
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 ankha.