Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Fri Jun 04, 2010 8:26 pm   

Editor Problems. Incomplete Copy/Paste or Paste locks CMUD up
 
Currently using 3.18c but I've had this problem for a few updates now just been busy and haven't had time to post. If I highlight large blocks of text from the main session window, and copy/paste to CMUD's built in editor, one or two things will happen.

A) The text pasted is not everything I have highlighted when I copied it.
B) Cmud will lock up completely.

To reproduce:
1. Start CMUD and go to the untitled session.
2. Enter the following text on the command line.
Code:
#loop 150 {#show {%i This is a test to show a bug in the editor.  This second line is just to add more text.}}

3. Open the editor.
4. Scroll up to the top of what was just printed to the screen in your session window.
5. Highlight lines 1 - 35 hit CTRL-C.
6. Click on the editor window and press CTRL-V
7. Line 35 for me is getting cut off. The exact position where the pasted text stops at varies, but is usually somewhere in the word second.
8. Clear the editor if you want, then highlight all 150 lines.
9. Press CTRL-C to copy.
10. Click on the editor and press CTRL-V.
11. CMUD freezes up on me every time here.

This is a fresh install of cmud 3.18c that has only been in use for an hour or two. but like I said this is somewhat of an old problem just haven't had time to post. Does anyone else get the same results as what I described?

Mike
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 04, 2010 8:51 pm   
 
I don't get the freeze in step 11, but I do see that the last line always seems to be cut off.

The 3rd party component used in the built-in editor is not very good. One of the things on my to-do list is to replace it with the Scintilla editor component used in the Script Editor, which is much more robust. So it's not likely this will get fixed until this editor is rewritten to use the Scintilla component.

If I can find a quick fix for this, then I'll try, but the current 3rd party editor code is pretty horrible and complicated to work on.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net