CTAGS : Back is done but the display result is not the best I can do...

This commit is contained in:
2011-08-24 09:44:10 +02:00
parent c30f57b3f7
commit 643f2e38b3
7 changed files with 67 additions and 8 deletions

View File

@@ -229,8 +229,6 @@ void BufferText::SetLineDisplay(uint32_t lineNumber)
}
void BufferText::DrawLineNumber(DrawerManager &drawer,char *myPrint, int32_t lineNumber, int32_t positionY)
{
char tmpLineNumber[50];
@@ -1094,6 +1092,21 @@ void BufferText::JumpAtLine(int32_t newLine)
UpdateWindowsPosition(true);
}
/**
* @brief Get the current line (to know where to jump)
*
* @param ---
*
* @return Return the current line number
*
*/
int32_t BufferText::GetCurrentLine(void)
{
return m_EdnBuf.CountLines(0, m_cursorPos);
}
void BufferText::Search(Edn::String &data, bool back, bool caseSensitive, bool wrap, bool regExp)
{
EDN_INFO("Search data : \"" << data << "\"");