Comments (12)
Couldn't you do that by adding tabs instead of the original margins? If it's just a preview, it doesn't really matter if the margins are correct, right? I mean, there already is a really nice preview in the preview window. I'm thinking something like: 3 tabs Character, 2 tabs parentethical, 1 tab dialog, 0 tab instruction. Or such? Just a little input :)...
from betterfountain.
@segreeeen yeah I was actually just looking at doing that, but the issue is that I can't seem to find a way to add margins on the right-hand side, so it would all look quite weird. But I'm going to keep on digging into this API, and if I find out it's possible i'il definitely be adding that as an optional feature.
from betterfountain.
Ah, got it, its about the right side. True, I didn't think of that.
from betterfountain.
A picture speaks a thousand words...
That would be nice! I would like for this link to be reopen and get enough people for the vote.
BTW. Have you looke into Theia? It's a text editor that is supposed to be like VSCode but with more possibilities for the extension creators.
Thank you for your work!
from betterfountain.
So this would be non-editable spacing like what was done with the dialogue numbers? As for the right-margins, I imagine this setting would require/imply the setting "editor.wordWrapColumn": 57 so that you can insert the spacing in the right places.
from betterfountain.
So this would be non-editable spacing like what was done with the dialogue numbers? As for the right-margins, I imagine this setting would require/imply the setting "editor.wordWrapColumn": 57 so that you can insert the spacing in the right places.
Yep probably, but the issue is that, even with editor.wordWrapColumn
set, I don't think it's actually possible to add spacing to the right without actually inserting new lines in the text itself. And modifying the text as such is obviously extremely inconvenient and hacky, so not something I think we should do.
from betterfountain.
This would be a really nice feature.
from betterfountain.
It turns out the core issue preventing this from working is a bug in vscode, as it doesn't take into account decorations when calculating the word wrapping positions: microsoft/vscode#32856
Until that bug is fixed in vscode, there's no way of getting this behaviour without some very hacky and unreliable new line insertions :/
from betterfountain.
Hey there, just started using this extension and wanted to pick up on this. Granted that right hand margins are a problem, is there a way to automatically add tab/some sort of centering to the dialogue and parenthesis elements? As per previous comments, it doesn’t have to be to exact formatting, but so long as it breaks the dialogue out of action, it’s still a handy way to use it.
from betterfountain.
There was more to this discussion on discord, where Piers decided that modifying the author's text would be too messy.
I gave the text-decoration method a go, which was how we discovered the word-wrap issue.
This is the closest I got. ( '~' used instead of spaces for debugging purposes)
Personally, I'd be happy to ignore centering the dialogue (because that's the troublesome part) - and shifting Parentheticals and Character names left to compensate, which would look like this. Piers wasn't too keen on this either though IIRC.
from betterfountain.
Thanks for your response. I agree that even having the character names/parenthesis tabbed in would result in a more helpful way to navigate the text. If you have any hints as to how to do that, I’d be happy to give it a try.
from betterfountain.
That's from my own branch which would need Piers' approval and some polish.
from betterfountain.
Related Issues (20)
- carriage return in notes not working HOT 1
- carriage return in notes not working HOT 2
- Feature request: Smart quotes HOT 1
- Use custom scopes for syntax highlighting HOT 1
- Set the default value for fountainconfig.scenes_numbers to both. HOT 1
- Support for non-latin character languages such as Chinese, Hebrew or Arabic HOT 3
- Jump to line returns "Illegal value for 'line'" HOT 1
- Feature Request: PDF Formatting Using Layout Language (maybe FDXT?) HOT 1
- Web Client seems to have some issues HOT 2
- Installing on mac
- Feature Request: Page Breaks in Live Preview HOT 8
- versionIndicator Scrolls on character page
- Live Preview to load only 1000 lines at a time
- Extension causes high cpu load HOT 1
- Spaces are rendered on line break
- Word count should ignore boneyard HOT 1
- PDF exports not working with right to left languages
- Q: How to change syntax colors ? HOT 2
- PDF Export errors, log doesn't show what's wrong on my end HOT 2
- Custom scene heading prefix in addition to int/ext/est HOT 2
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 betterfountain.