Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Refresh after EXPENSIVE Validate
Refresh after EXPENSIVE Validate [message #770116] Fri, 23 December 2011 06:35 Go to next message
Ed Willink is currently offline Ed Willink
Messages: 3154
Registered: July 2009
Senior Member
Hi

I've added some EXPENSIVE validation code for use by the generated Xtext
editor Validate action.

I find that the first time I use Validate it works fine.

Thereafter invoking Validate correctly updates the Problem View, but the
Editor pane is not updated till some character edit occurs.

Should I be forcing a screen refresh or is this an Xtext UI bug (in 2.2.1)?

Regards

Ed Willink
Re: Refresh after EXPENSIVE Validate [message #774124 is a reply to message #770116] Tue, 03 January 2012 04:57 Go to previous message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2788
Registered: July 2009
Senior Member
Ed,
this looks like a bug to me. Please file a ticket.

Thanks,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 23.12.11 12:35, schrieb Ed Willink:
> Hi
>
> I've added some EXPENSIVE validation code for use by the generated Xtext
> editor Validate action.
>
> I find that the first time I use Validate it works fine.
>
> Thereafter invoking Validate correctly updates the Problem View, but the
> Editor pane is not updated till some character edit occurs.
>
> Should I be forcing a screen refresh or is this an Xtext UI bug (in 2.2.1)?
>
> Regards
>
> Ed Willink
Previous Topic:Error MWE2 Workflow Generator
Next Topic:Code templates JDT dependency
Goto Forum:
  


Current Time: Tue May 21 09:29:14 EDT 2013

Powered by FUDForum. Page generated in 0.02094 seconds