Pelles C forum

Pelles C => Bug reports => Topic started by: CommonTater on April 30, 2012, 03:20:57 AM

Title: Editor caret vanishes...
Post by: CommonTater on April 30, 2012, 03:20:57 AM
After using the internal web browser, the source editor will have no typing caret visible... It appears to be there, it's just not visible.

Open a webpage and a source page ... click between them... caret is visible.
Open a webpage and a source page ... close the webpage ... caret is invisible in source page.

To get the caret back I have to close and re-open the source page.




Title: Re: Editor caret vanishes...
Post by: czerny on April 30, 2012, 10:44:09 PM
Hmm! I can not reproduce this. How do you open your web page? Via start page or via help menu?

czerny
Title: Re: Editor caret vanishes...
Post by: CommonTater on May 01, 2012, 12:13:15 AM
Quote from: czerny on April 30, 2012, 10:44:09 PM
Hmm! I can not reproduce this. How do you open your web page? Via start page or via help menu?
czerny

Via the new addin I wrote... It appears that after calling AddIn_OpenDocument for a web page, the caret is not reliably restored when the page is closed.  If I click on the source page in the file tree, the caret does come back or if I close and reopen the page it's back... but not right after closing the web browser.  I can launch it in software easily enough but have no way to deal with when the user closes it.



Title: Re: Editor caret vanishes...
Post by: TimoVJL on May 01, 2012, 08:59:47 AM
One way to see that problem:
- View StartPage
- open project with least one open document from StartPage.
cursor is blinking
- select StartPage and close it.
cursor is missing
- select another program and select poide.exe again
cursor is back