Originally posted by: Zmicier Lapcionak
I compiled Unicode build editpadiu.exe ()
It crashes at UINT CShellPidl::GetSize (LPCITEMIDLIST pidl)
Reply
Originally posted by: addition
I typed Arial per hand in the edit ctrl and clicked ok. Well it worked. But i think u know what will happen when a not fixed font is selected!
ReplyOriginally posted by: Adam
Where are the syntax keywords located.
I want to add language support for pro*C but can't
find the files that include the keywords for given languages
can anyone point me in the right direction.
Thanks in avance to thoses knowing dietys who can help
Reply
Originally posted by: Boulifb
Fred.
I want to add RPL syntax.... How can I do it?
Originally posted by: Michael Damron
I wrote a simple editor and I wonder if you could add this feature:
As you type, say you are a very slow typer, and you are working on a strait C code file. You need a new function so you type the following.
/v /plist(/i iCount)
It translates to:
void printlist(int iCount)
where the letters v, p, and i mapped to the user defined values. in my app, this feature doesn't allow it to be turned off and so it checks every time.
Pressing F3 gives you an uneditable -- which would be better if you could edit the -- list of the user defined key/value pairs.
Another nice feature for documentation is this. Take the function definition above and put the cursor on the line, press F7 and the following now apperas in the document.
If you would like to see my code, let me know. Since it was very simple it was rejected from CodeGuru a few years ago.
I'd like to be able to add to or create a syntax Library of sorts.
//********************
//
// Function: printlist
//
// Returns: void
//
// Parameters:
// int iCount
//
// Comments:
//
//********************
void printlist(int iCount)
Originally posted by: Srikanth Eswaran
hi,
i checked out ur source code, and found that there are many workspace folders. i am in a dilemma as to what to compile first and what not to.
VC6.0 keeps on giving me an error saying:
"LINK : fatal error LNK1104: cannot open file "bcgcb453u.lib".
can you please give compile instructions step by step so that we can get the project running in VC6.0. i would appreciate your efforts if you could give me a reply as soon as possible.
thanks and regards
srikanth eswaran
Originally posted by: Deepa Ahluwalia
There is a memory leak in the find command.
When find is issued from the find dialog box, multiple find commands seem to leak memory. Exiting the application from the debugger results in the memory leak traces for the lines contained the found string.
FIX:
This fix makes sure that the buffer is deallocated before assigning a new value to it. The fix has not been regression tested.
In function CCrystalTextView::FindTextInBlock:
---Original Code----------------------------------------
int nPos =::FindStringHelper (line, what, dwFlags, m_nLastFindWhatLen, m_rxnode, &m_rxmatch);
if (nPos >= 0)
{
---Modified Code--------------------------------------
int nPos =::FindStringHelper (line, what, dwFlags, m_nLastFindWhatLen, m_rxnode, &m_rxmatch);
// Buffer leak fix begin
if (m_pszMatched)
{
delete m_pszMatched;
}
// Buffer leak fix ends
if (nPos >= 0)
{
------------------------------------------------------
Deepa
Originally posted by: Yao Bin
in void CCrystalTextView::OnEditFind ()
/****************
original code
****************/
_tcsncpy(
dlg.m_sText.GetBuffer(nChars + 1),
pszChars + ptSelStart.x,
nChars + 1);
dlg.m_sText.ReleaseBuffer ();
/***************
change to
****************/
_tcsncpy(
dlg.m_sText.GetBuffer(nChars + 1),
pszChars + ptSelStart.x,
nChars + 1);
dlg.m_sText.ReleaseBuffer (nChars);
Originally posted by: Yao Bin
/*********************
/*************
in BOOL CEditReplaceDlg::DoHighlightText ()
change the code from
*********************/
if (m_nScope == 0)
{
// Searching selection only
bFound = m_pBuddy->FindTextInBlock (
m_sText,
m_ptFoundAt,
m_ptBlockBegin,
m_ptBlockEnd,
dwSearchFlags, FALSE, &m_ptFoundAt);
}
else
{
// Searching whole text
bFound = m_pBuddy->FindText (m_sText,
m_ptFoundAt,
dwSearchFlags, FALSE, &m_ptFoundAt);
}
to the following
**************/
if (m_nScope == 0)
{
// Searching selection only
if(m_sText.IsEmpty())
bFound = FALSE;
else
bFound = m_pBuddy->FindTextInBlock (
m_sText,
m_ptFoundAt,
m_ptBlockBegin,
m_ptBlockEnd,
dwSearchFlags, FALSE, &m_ptFoundAt);
}
else
{
// Searching whole text
if(m_sText.IsEmpty())
bFound = FALSE;
else
bFound = m_pBuddy->FindText (m_sText,
m_ptFoundAt,
dwSearchFlags, FALSE, &m_ptFoundAt);
}
Originally posted by: Mike Spaans
I want to exit editpad single document with the 'escape' key. I tried using an accelerator(IDR_MAINFRAME) but I can't get them to work.
Are they blocked in some way?
__Mike
Reply