vishnugonela / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Select line selects one more line #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hold down shift
2. press down

What is the expected output? What do you see instead?

Two lines get selected, instead of one. Also, if you now release shift and
press up, one line will remain selected

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?

Using the latest SVN build (57277).

If from source: What version of python and wxPython are you using?

2.8.8.0-0ubuntu2

Please provide any additional information below.

The SVN build feels better in terms of speed so far than the release version.
Also, there is a problem in the install script, I think it's minor so I
won't open another issue:
tamas@isengard:~/Documents/Editra$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 357, in <module>
    setup(
NameError: name 'setup' is not defined

Thanks,
Tamas

Original issue reported on code.google.com by mcc%cutc...@gtempaccount.com on 12 Dec 2008 at 10:53

GoogleCodeExporter commented 9 years ago
Hello,

I don't see the problem (or don't understand it).

Test 1:
1) I put the cursor at the beginning of a line
2) Press+Hold Shift then the down key
3) See the line that the cursor was on being selected and the cursor now down 
on the
next line where I would expect it.
4) Release Shift
5) Press up
6) The line is unselected and the cursor is back on the original line

Test 2:
1) Put cursor in the middle of a line
2) Press+Hold Shift then the down key
3) Observe the line being selected from the current position to the end, and 
the next
line from the beginning to the current column.
4) Release shift
5) press up
6) selection is cleared and caret is back where it started.

This seems fine to me, I am I missing something?

------

Fixed the setup script it was a simple typo that I checked in by mistake before 
going
to bed last night...

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 12 Dec 2008 at 1:28

GoogleCodeExporter commented 9 years ago
Forgot to mention:

If you would mind doing another profiling session with the new svn version I 
could 
look into finding more places to get some gains from. I added a command line 
switch 
to run Editra in the profiler so it will be easier to do now.

Editra -p

This should output the profile 'editra.prof' in the current running directory. 
Though 
I have only used it from a dev version and not an installed version yet.

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 12 Dec 2008 at 2:56

GoogleCodeExporter commented 9 years ago
Hello,

it is now fixed with the latest SVN build, it was probably some other bug that 
manifested this way. I seem to recall a similar bug in the KDE3 version of Kate.

Nevertheless, it works fine now, so I guess this issue can be closed.

I'm attaching the profiling output. The newer versions seem to be faster and 
faster, 
no slowdown with them yet! :) I'm glad!

Thanks,
Tamas

Original comment by tma...@gmail.com on 15 Dec 2008 at 2:14

Attachments:

GoogleCodeExporter commented 9 years ago
Glad to hear that the tweaks I made made a difference. Hopefully I can find 
some 
more.

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 15 Dec 2008 at 2:18