Focus3D / crunchy

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

Python files plugin. #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just like we can load .htm[l] files and process them, or .rst and .txt
files and process them (assuming they are reStructuredText files and
converting them into html documents before applying the vlam magic), we
should allow loading Python files (recognized through either a .py or .pyw
extension).

The way these files should/could be handled is as follows:

1. We use the file name as the title, displayed at the top with tag h1
2. We colorize the code, inserting both an interpreter below *and* an
editor with the code copied.  This would give all the choice possibly
needed by a user.

Original issue reported on code.google.com by andre.ro...@gmail.com on 23 Jan 2008 at 1:13

GoogleCodeExporter commented 8 years ago
Done!  Revision 568.  Note that the file extension is irrelevant - it is loaded 
via a
"browser" object.

Original comment by andre.ro...@gmail.com on 23 Jan 2008 at 1:44

GoogleCodeExporter commented 8 years ago
Forgot to change status to indicate that this issue was closed.  Note that this 
is a
bit of a silly plugin as we can already load files from the editor.  However, 
it does
add nice styling and gives the option to use the file from the interpreter which
otherwise might be difficult to do if the file is not located on sys.path[].

Original comment by andre.ro...@gmail.com on 23 Jan 2008 at 1:54