Ticket #1720 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

need call refresh after insert

Reported by: x905 Owned by: andrew_b
Priority: major Milestone: 4.7.0
Component: mcedit Version: 4.7.0-pre3
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

if i insert long string in editor - it fills with blanks, and i dont see it until i strike enter - but it will refresh and looks good after enter ( is i clear describe? ) )
try insert string longer then mc screen width

Change History

comment:1 follow-up: ↓ 5 Changed 15 years ago by andrew_b

Seems related to #1710.

comment:2 Changed 15 years ago by angel_il

i can't reproduce this.

comment:3 Changed 15 years ago by x905

maybe ...
try konsole (kde 3x), run mc, with shift and mouse select one _full_ line, copy, press shift+F4, and paste it
if i select two or more lines - they pasted as single line - like no '\n' processing in editor

comment:4 Changed 15 years ago by ossi

i can reproduce this (copying from kate (i've seen it with mozilla as well), mc running in an xterm). note that it has to be *quite* some text to trigger this behavior - a few lines don't do it. hitting ctrl-l fixes the view.

comment:5 in reply to: ↑ 1 Changed 15 years ago by slazav

Replying to andrew_b:

Seems related to #1710.

Yes, it is 1710.

I see this bug in linux console and in xterm with mcedit running as internal editor, or as $EDITOR, or from shell without mc.

I don't see it when mcedit is running from mc's command line.

When this bug appeares three things are on:

  • control- and shift-enter does not do anything in mcedit
  • on pasting multiline selection all newline characters disappeares
  • on pasting selection ended with newline character inserted text is not shown untill any key pressed

When this bug is not reproduced shift- or control-enter works as enter. src/tty/key.c/tty_getch() function gets them as enter without any modifier.

comment:6 Changed 14 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Component changed from mc-core to mcedit
  • Blocked By 1710 added
  • Milestone changed from 4.7 to 4.7.0

comment:7 Changed 14 years ago by andrew_b

  • Blocked By 1710 removed

comment:8 Changed 14 years ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:9 Changed 14 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.