google-code-export / ulipad

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

Draging and dropping files doesn't open them #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Drag a file from the files browser to Ulipad

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

Expected :

Ulipad open the file in a new tab and let you edit it.

Got instead :

Ulipad writes the file path in the currently opened file.

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

I am using UliPad 4.0 on Ubuntu 9.10. Python is 2.6.4, GTK is 2.18.

Please provide any additional information below.

If pasting the file path is a wanted behavior, then at least dropping the
file on the tabs bar should open the file.

Original issue reported on code.google.com by isatis39...@gmail.com on 17 Jan 2010 at 1:43

GoogleCodeExporter commented 9 years ago
You can't drop a filename to document area directly, you should drop it to 
directory 
browser pane.

Original comment by limo...@gmail.com on 17 Jan 2010 at 2:21

GoogleCodeExporter commented 9 years ago
That's too bad, most of the text editors work that way.

Anyway, thanks for the tip, I'll use it that way !

Original comment by isatis39...@gmail.com on 17 Jan 2010 at 3:12

GoogleCodeExporter commented 9 years ago
Because I tried what you want, but failed. Ulipad uses STC control, and it 
seems not 
support drop text any more if I implement drop filename to it. So I implement 
drop 
filename in directory browser pane. 

Original comment by limo...@gmail.com on 18 Jan 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Isn't it possible to let the drop text support, and if you detect that the 
dropped 
string starts wit "file://", you set it to "" and you open a new tab ? Ok maybe 
I 
should talk less and code more...

Original comment by isatis39...@gmail.com on 18 Jan 2010 at 4:42

GoogleCodeExporter commented 9 years ago
I also want to do what you want, but I faild before. So if someone can help me 
to 
implement it in Ulipad, I'll very glad to merge them into Ulipad.

Original comment by limo...@gmail.com on 19 Jan 2010 at 12:52