Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Validation after switching editors
Validation after switching editors [message #183907] Thu, 07 December 2006 21:03 Go to next message
Eclipse UserFriend
Originally posted by: gokuiuc.yahoo.com

Hello,

I want to ask how I could update the validation for an open HTML editor, if
I switch to another editor and then switch back to the HTML editor again. I
know that the HTML editor validation works "as I type", but in this
situation, I want the validation to be done also when I switch back to the
HTML editor. The reason is that I have some attributes that depend on the
other editor. Any suggestions?

Thanks,

Gokhan
Re: Validation after switching editors [message #183922 is a reply to message #183907] Thu, 07 December 2006 22:39 Go to previous message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
Gokhan wrote:

> Hello,

> I want to ask how I could update the validation for an open HTML editor, if
> I switch to another editor and then switch back to the HTML editor again. I
> know that the HTML editor validation works "as I type", but in this
> situation, I want the validation to be done also when I switch back to the
> HTML editor. The reason is that I have some attributes that depend on the
> other editor. Any suggestions?

> Thanks,

> Gokhan

Tricky problem. One way to do this would be to give the 'as you type
validator' a kick when the editor gains focus (though you'd need to open a
bug to get the SSE framwork to support this). We'd have to think a bit
about performance implications though. Ideally we'd have a deluxe solution
where we'd keep a depenency tree that would become dirty when a depenant
file has changed. Then when an editor gains focus it would check it
dependency tree to see if a revalidate is required.
Previous Topic:Adding files to the cache
Next Topic:How does the JSP editor resolve page imort references?
Goto Forum:
  


Current Time: Fri Apr 26 22:56:46 GMT 2024

Powered by FUDForum. Page generated in 0.03040 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top