Home Download Buy Blog Forum Support

Backspace does not work when file starts with comment header

Re: Backspace does not work when file starts with comment header

Postby aaronov on Wed May 08, 2013 2:35 am

Problem occurs on Xubuntu 12.04 32bit. Pretty frustrating bug.
aaronov
 
Posts: 3
Joined: Wed May 08, 2013 2:33 am

Re: Backspace does not work when file starts with comment header

Postby Eduan on Wed May 08, 2013 2:03 pm

aaronov wrote:Problem occurs on Xubuntu 12.04 32bit. Pretty frustrating bug.

Could you please describe the problems you're having and how to reproduce them? Otherwise we cannot provide any help. :)
Check out my blog and website: EduanTech.com (currently undergoing some facial and organs makeover...)
Also check out my profiles: GitHub - Greduan | BitBucket - Greduan
Eduan
 
Posts: 140
Joined: Sun Oct 14, 2012 4:05 pm

Re: Backspace does not work when file starts with comment header

Postby aaronov on Thu May 09, 2013 1:50 am

The problem has already been described but here it is outlined along with some sample code which produces the problem on my machine.

Problem
The backspace and delete key do not work on all occasions. There does seem to be a workaround whereby selecting the text and pressing backspace or delete will work.

Sample
Code: Select all
#ifndef TEST_H
#define TEST_H

#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/erase.hpp>
#include <boost/algorithm/string/find.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/predicate.hpp>

namespace Test
{
}

#endif //TEST_H


In this code snippet the problem seems a bit sporadic. Anything below line 7 the backspace won't work but everything above it does seem to work. I'm beginning to think the problem has nothing to do with comments but perhaps it's related to line endings or something else.
aaronov
 
Posts: 3
Joined: Wed May 08, 2013 2:33 am

Previous

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 34 guests