Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
07-24-2011, 08:40 PM #1
- Join Date
- Jul 2011
- Thanked 0 Times in 0 Posts
So, I was wondering if the following is possible..
For example, say I want the preview box to refresh every time the user enters a space character. Is there a way to get only the new source code entered to render in the preview box without having to re-render the entire preview every time?
For example, if a user types 2x^3, I want the math equivalent to show up in the preview window. If a user then types in " + 2x" I want just the " + 2x" part to be drawn right next to the already-drawn "2x^3".
Is this possible? Or is the only way to re-render the entire preview every time the user types in a new term? I would like to only change what the user has edited. If a user edits the middle of the math, then I have no choice and have to re-render everything after what the user has just edited, but when the user is editing the math at the very end, can I not just tag it on to the end and render just that little piece?
07-25-2011, 04:25 AM #2
Are you talking about what is essentially a graphing calculator????
If that's the case, then y=2x^3 versus y=2x^3 + 2x are two very different graphs. I don't see how it makes sense to sayIf you aren't talking about drawing graphs, then how *DO* you want to display the "math"??I want just the " + 2x" part to be drawn right next to the already-drawn "2x^3"
07-25-2011, 05:04 AM #3
- Join Date
- Jun 2007
- Thanked 600 Times in 580 Posts