[DEBUG] correction of the read write access in the buffer system
This commit is contained in:
@@ -89,10 +89,10 @@ EdnBuf::~EdnBuf(void)
|
||||
* @return true if OK / false if an error occured
|
||||
*
|
||||
*/
|
||||
bool EdnBuf::DumpIn(FILE *myFile)
|
||||
bool EdnBuf::DumpIn(etk::FSNode &file)
|
||||
{
|
||||
// write Data
|
||||
return m_data.DumpIn(myFile);
|
||||
return m_data.DumpIn(file);
|
||||
}
|
||||
|
||||
|
||||
@@ -104,9 +104,9 @@ bool EdnBuf::DumpIn(FILE *myFile)
|
||||
* @return true if OK / false if an error occured
|
||||
*
|
||||
*/
|
||||
bool EdnBuf::DumpFrom(FILE *myFile)
|
||||
bool EdnBuf::DumpFrom(etk::FSNode &file)
|
||||
{
|
||||
if (true == m_data.DumpFrom(myFile) ) {
|
||||
if (true == m_data.DumpFrom(file) ) {
|
||||
// set no selection
|
||||
UpdateSelection(0, 0, m_data.Size() );
|
||||
// generate HighLight
|
||||
|
@@ -78,8 +78,8 @@ class EdnBuf {
|
||||
void SetAll( etk::Vector<int8_t> &text);
|
||||
void GetRange( int32_t start, int32_t end, etk::Vector<int8_t> &output);
|
||||
void GetRange( int32_t start, int32_t end, etk::UString &output);
|
||||
bool DumpIn( FILE *myFile);
|
||||
bool DumpFrom( FILE *myFile);
|
||||
bool DumpIn( etk::FSNode &file);
|
||||
bool DumpFrom( etk::FSNode &file);
|
||||
// replace with operator [] ...
|
||||
int8_t operator[] (int32_t);
|
||||
int32_t Insert( int32_t pos, etk::Vector<int8_t> &insertText);
|
||||
|
Reference in New Issue
Block a user