live preview should be updated by typing

Bug #1186697 reported by swizzle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Wishlist
Unassigned

Bug Description

Even a simple .html file with only <h1> tags can't be previewed.
Maybe you should take a look at https://github.com/cyberpython/gedit3-webkitview-plugin.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

I am not an advanced web developer but scratch's plugin works good with my html files. Can you give me a file example which causes you problems?

Changed in scratch:
status: New → Incomplete
Revision history for this message
swizzle (el-ferreira-deactivatedaccount) wrote :

Sorry my bad i didn't know that you've to click each time on the live preview icon after some modifications.
It would be better to update the html preview each time when you time. (i changed the title of the bug report)
That way the icon itself for previewing html content would't be needed anymore.

The live previewer is not bad but is there a way to preview php code in a html file ? That would be awesome!

summary: - web preview doesn't work as expected
+ live preview should be updated as you type
summary: - live preview should be updated as you type
+ live preview should be updated by typing
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

it's just a WebKit.WebView displaing your files. To be honest, I don't know.

Changed in scratch:
status: Incomplete → Confirmed
importance: Undecided → Wishlist
milestone: none → 2.1
Revision history for this message
swizzle (el-ferreira-deactivatedaccount) wrote :

Maybe with an event like onchange or something like that ?

Changed in scratch:
milestone: 2.0.1 → 2.1
Revision history for this message
Jacob Parker (jacobparker1992) wrote :

Maybe have an 'auto refresh' option, and it refreshes one second after the last keystroke? If you auto refresh each time, it will eat CPU time, and will be broken a lot of the time.

Revision history for this message
swizzle (el-ferreira-deactivatedaccount) wrote :

After the latest keystroke that sounds good to me too.

Cody Garver (codygarver)
Changed in scratch:
milestone: isis-beta1 → feature-future
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.