Spotted a bug


Forum: Other Help Topics
Topic: Spotted a bug
started by: Tobo

Posted by Tobo on June 18 2006,21:19
'Sup everyone, I wanted to post this somewhere, but I couldn't find an appropriate looking forum, so may I apologise if this is in the wrong place.

If you attemp to view the source code, you can view it no problem. You can also click on it, as though you were going to edit it. However, when you attempt to edit it, you can't. Try it out and see for yourself, and post a sloution here if you find one.

Thanks a lot for looking into this!

Posted by Zucca on June 18 2006,21:35
Quote (Tobo @ June 18 2006,19:19)
If you attemp to view the source code, you can view it no problem.

Source code of what?

Read-only file or file is on read-only filesystem?

Posted by Tobo on June 18 2006,23:29
Sorry Zucca, I should've specified that. :;):

It's source code for web pages. You can't edit it.

Thanks for looking into this.

Posted by kerry on June 19 2006,01:35
I'm not getting you. Are you talking about the right click option "view page source"? If so that's normal you can view the source on any web page.
Posted by mikshaw on June 19 2006,04:17
The source viewer in Firefox is not an editor....it's just a browser window displaying plain text.  If you want to edit a web page, save it to a writeable location and open it with a text editor.  You may be able to find an extension to edit instead of view, or possibly configure Firefox to use a text editor of your choice to view page source. I can't say for sure if either one is possible...just guessing.
Posted by Tobo on June 19 2006,16:52
Thanks for that, Milkshaw, I'll see what I can do.

In case you're still wondering, Kerry, you were right, I'm talking about the "view page source" option in the "view" menu. It opens up in Notepad in IE, but I guess that's not a possibility in DSL, is it! :;):

Thanks for the help guys!

Posted by mikshaw on June 19 2006,19:28
ViewSourceWith extension:
< https://addons.mozilla.org/firefox/394/ >

EDIT: I kinda like this extension.  Only thing I don't care for is that it does not accept anything but the full path to an executable, with no parameters, so I had to write a wrapper to use it with vim and add the wrapper as an editor:
Code Sample
#!/bin/sh
exec aterm -T "Firefox Source" -e vim "$@"

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.