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

CXTPSyntaxEditView Load File

 Post Reply Post Reply
Author
Message
thodgson View Drop Down
Groupie
Groupie


Joined: 11 August 2003
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote thodgson Quote  Post ReplyReply Direct Link To This Post Topic: CXTPSyntaxEditView Load File
    Posted: 18 January 2007 at 10:30am
Is there a way to load a file into a CXTPSyntaxEditView class without using a CXTPSyntaxEditDoc class attached to it?
 
I see in the help the class CXTPSyntaxEditBufferManager which appears to be what I'm looking for but there are no examples of its use or how it is supposed to work.
 
Thanks,
 
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1
Platform: Vista(x64)-SP1
Language: Visual C++ 6.0
Currently: Satisfied w/ Toolkit
Back to Top
thodgson View Drop Down
Groupie
Groupie


Joined: 11 August 2003
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote thodgson Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2007 at 10:38am
Never mind. 
 
I figured it out.
 
CXTPSyntaxEditBufferManager *pXTPSyntaxEditBufferManager = this->GetEditBuffer();
pXTPSyntaxEditBufferManager->InsertText("Test", 1, 1);
My mistake was that I was doing a InsertText on row 0, column 0.
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1
Platform: Vista(x64)-SP1
Language: Visual C++ 6.0
Currently: Satisfied w/ Toolkit
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.203 seconds.