Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Load File into SyntaxEditor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Load File into SyntaxEditor

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Load File into SyntaxEditor
    Posted: 24 August 2007 at 5:32am
Hello,

There is a problem at reload another file into SyntaxEditor.
Reproduce:

Create a singledoc application with SyntaxEditView
Load big file.
scroll to end of file.
Now load another small file.
Now the EditCtrl has some trouble.

>    ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::Refresh()  Zeile 633    C++
     ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::OnUpdate(CView * pSender=0x00000000, long lHint=2, CObject * pHint=0x00000000)  Zeile 1529    C++
     ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::OnInitialUpdate()  Zeile 430 + 0x16    C++
     PPCDebugger.exe!CPPCDebuggerView::OnInitialUpdate()  Zeile 113 + 0xb    C++
     mfc71d.dll!CWnd::OnWndMsg(unsigned int message=868, unsigned int wParam=0, long lParam=0, long * pResult=0x0012e7a0)  Zeile 2023    C++
     mfc71d.dll!CWnd::WindowProc(unsigned int message=868, unsigned int wParam=0, long lParam=0)  Zeile 1745 + 0x1e    C++

In Refresh there is call
m_iTopRow = GetEditCtrl().GetTopRow();
And now m_iTopRow is 400. But the new file
has only 100 Line.

  Jimmy

PS: Has also send this to support.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.