Editing long lines in command window editor makes cursor disappear

Claus Pedersen

Member³
When you edit long lines (longer than the screen width) and the vertical scrollbar is visible, the cursor is pushed just outside the right side of the screen and can no longer be seen. It seems that the cursor positioning does not take into account that the vertical scrollbar occupies some space to the right.
 
Sorry, I can not reproduce this anymore.

I have since upgraded to 7.1.1.1339, maybe that is why.

I will delete the post when you have seen my answer ...
 
It happens something similar to me with horizontal bar.
On SQL Window with results and lines enough to show vertical bar, when I go to the end of text (Ctrl+End), the cursor hides itself behind the horizontal bar.
This not happens when are no results, though.
 
Yes, 7.1.1.

To reproduce this, you need a query long enough to show vertical bar, but horizontally it should be tight at the begining and large at the ending.
So, when cursor is at begining, the horizontal bar hides itself, showing just when the large line algo shows up.

This bug not happens in 7.0.3 because horizontal bar always shows up when text is large, doesn't matter if this large block is showing or not.

Maybe my explanation sounds a bit confusing (my english still sucks), but you can reproduce this bug with the following query:

Code:
select owner
     , table_name
     , tablespace_name
     , cluster_name
     , iot_name
     , pct_free
     , pct_used
     , ini_trans
     , max_trans
     , initial_extent
     , next_extent
     , min_extents
     , max_extents
     , pct_increase
     , freelists
     , freelist_groups
     , logging
     , backed_up
     , num_rows
     , blocks
     , empty_blocks
     , avg_space
     , chain_cnt
     , avg_row_len
     , avg_space_freelist_blocks
     , num_freelist_blocks
     , degree
     , instances
     , cache
     , table_lock
     , sample_size
     , last_analyzed
     , partitioned
     , iot_type
     , temporary
     , secondary
     , nested
     , buffer_pool
     , row_movement
     , global_stats
     , user_stats
     , duration
     , skip_corrupt
     , monitoring
     , cluster_owner  --just a comment long enough to make horizontal bar hides the cursor blablablablablablablablablablablablablablablablablablablablablablablabla
     , dependencies
     , compression
     , dropped
  from all_tables a
 where a.owner <> 'SYS'
Run this query and try to go from begining to ending of the code with Ctrl+End.
 
Marco, have you tried to reproduce this one? Maybe it can be included on a fix release too...

Thanks.
 
Back
Top