The Following User Says Thank You to trx For This Useful Post: | ||
|
2011-07-10
, 03:02
|
|
Posts: 185 |
Thanked: 111 times |
Joined on Jul 2010
@ Mexico DF, Mexico
|
#42
|
Access violation Press OK to ignore risk data corruption Press Cancel to kill the program
$ run-standalone.sh txpad /etc/hildon/theme/gtk-2.0/gtkrc:1: border (or stretch) without valid file TApplication.HandleException Access violation Stack trace: $00062FA0 $00060814 $0008B2E8 $0019C134 $0019E484 $0019E648 $0019CB44 $0004B428 $00179ED0 $00179DD4 $0017D228 $0003279C $0018600C $00178E30 $0023CE10 $00203684 $001FF3F4
The Following User Says Thank You to strange1712 For This Useful Post: | ||
|
2011-07-10
, 14:34
|
|
Posts: 80 |
Thanked: 237 times |
Joined on Dec 2010
@ Serbia
|
#43
|
|
2011-10-28
, 12:31
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#44
|
<html> <head> <title>hello</title> <style type="text/css"> code { font-family: monospace; white-space: pre; } </style> </head> <body> <code> <!-- content exported... --> #include <iostream> <b>int</b> main() {  std::cout << "Hello World" << std::endl;  <i>// comments</i>  <b>return </b>0; } <code> </body> </html>
|
2011-10-29
, 08:53
|
|
Posts: 80 |
Thanked: 237 times |
Joined on Dec 2010
@ Serbia
|
#45
|
Re: v 0.7.0 (in Maemo repositories)
This now seems like a really useful little tool - Thank you. The initial versions of txpad were a bit difficult to use because I couldn't access the Sym key (Fn+Ctrl) for things like <, >, etc. This appears to have been fixed and improved upon.
Here are some bugs(maybe?), suggestions and comments:
(1) Text formatting
(a) Very clever you've got so many languages on the list, though there seem to be more colours for some than others e.g. mark-up languages are in full colour, while CSS only has normal, bold, italics.
(b) Is there a conf-file or similar so users can set colours for the colour formatting? It doesn't need to be able to be done one the fly (while prog is running) - a text file, which gets read on start-up is fine.
(c) Can the font resizing be moved from 'Edit' to Tools > Settings > Editor ? I didn't know it was there till I was looking for something else.
(2)Text flow etc:
(a) As per posts above, word wrap: TxPad is perfectly functional as-is but this would really improve its useabliity.
(b) [SOLVED - uncheck 'Cursor past EOL' button in Tools > Settings > Editor]I can put the cursor anywhere on a line, rather than just to the extent of the text, which is a little counter intuitive.
(3) The extra buttons - there one minute, gone the next. How can they by made to stay visible? These are kind of like a 4th row on the KB - a really good idea!
(4) Really like the tabs for files. And, you've kept them slim (low) enough to be part of the unscrollable UI. Fantastic!
(5) Again, good job with the bracket matching (round, angle and curly). Nice.
(6) Like the way tabs (as in '\t') persist to next line. Is there a way to make text auto-indent after a new open curly-bracket? And, de-indent when the closing brace is written?
e.g. jS/C/C++ style braces:
func()
{ // insert '\t' after next '\n', increase indent-level by 1
<\t * indent-level>
} // reduce indent level by 1
7. I am unable to open a file with TxPad via the terminal
- actions leading to event: type "txpad filename.txt"[enter] into xterm,
- expected outcome: content of "filename.txt" visible in TxPad, ready for editing.
- actual outcome: TxPad opens with message "Can't open that file".
- notes Using Ctrl+O or File > Open, TxPad can open said "filename.txt"
8. Unless the focus is on the main editing window, it is not possible to access the dashboard (window manager). I thought it was a Hildon programme-design guideline that Ctrl+Bksp / the double rectangle in the top-left corner should be functionable/accessible at all times?
9. I really like that the file-browser has full access to the whole device.
I would like to know if a specific directory (e.g. MyDocs) can be set as the default?
It can be difficult to use it sometimes because if a directory extends below the bottom of the screen, the scroller doesn't work that well. The cursor keys do, however, work to move the selection, so it would be intuitive to allow [enter-key] to be used to open/close a selected directory.
10. Save to HTML
Great feature. Really useful for sharing stuff!
(a) It doesn't work if file is not saved first, nor does it flag an error.
(b) File extension appears to be kept as original, rather than being set to .html .
(c) Can \t be converted to   in the mark up? At the moment, it goes to a single space.
(d) The output is in variable-width text, not monospace. I think it's because the code tage doesn't inherit from the pre tag; perhaps pre isn't supposed to have children, or could be use of the out of date font tag? How about this example for the most basic of C++ files:
HTML Code:<html> <head> <title>hello</title> <style type="text/css"> code { font-family: monospace; white-space: pre; } </style> </head> <body> <code> <!-- content exported... --> #include <iostream> <b>int</b> main() {  std::cout << "Hello World" << std::endl;  <i>// comments</i>  <b>return </b>0; } <code> </body> </html>
Haven't yet tried the more dynamic features such as testing scripts in TxPad, ftp, etc. but I'll report back if I do.
I hope these don't sound like slights. I might be doing something wrong for some of these. Actually, I think TxPad could easily become the defacto on-device editor, especially if it will run easily on Harmattan. It's so easy to use, yet sophisticated enough to be able to edit many source types. Good job so far.
The Following 4 Users Say Thank You to trx For This Useful Post: | ||
|
2011-10-31
, 05:19
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#46
|
(a,b) At the moment, there is no "plugin system" for syntax highlighting, so it has to be expanded/modified only via source code. This is however a planned feature and will come eventually. Mainly because of code folding, you may not be aware of this, but TxPad supports syntax code folding, but currently only for pascal...
(c) Yes, it can. At the moment you can change the size there, or switch the zoom keys to change font size instead of changing tabs. I don't know if you noticed that if you tabs are hidden(Settings) and your finger is over the proximity sensor, you will get 3 more buttons, test that, and see if its useful to you.
(a) This is a planned feature but its a complex one, it would need quite a bit of rewrite. (Planned to do eventually.)
(b) My first IDE was Delphi, where this is standard behavior, so i tend to make every code editor do this
Well, i tried to save space, so i made them visible only when the proximity sensor is closed. I can add an option to lock them in place...
You can also try to hide tabs in settings, then when you close the proximity sensor, few more buttons for tab control will show up... This may save additional space for code.
I will have to look into this first.
I never encountered that problem, both absolute and relative paths work fine. Can you provide more info about this?
~/MyDocs/tmp $ ls TxPadComment hello.cpp hello.html ~/MyDocs/tmp $ txpad.cpp
This is because the dialogs are waiting for a modal result, so they need an answer before they get out of focus. This is actually Qt's fault, and its lack of following the hildon design. I dont think i can do much about this, but i will look into it.
Yes, i will add an option in settings to set a default path. About the scroller, i noticed that too, but i can't seem to find the bug, sometimes its there sometimes not :/
About the enter key, you can actually use left/right keys to open/close directories.
I will have to check this, and let you know.
Thank you very much for taking the time to test/write all this, its much appreciated...
If you find anything else that can be improved, please let me know
About Harmattan, sadly, no. It can't run at all because there Qt widgets are obsolete :/
So i had to rewrite everything from scratch in Pascal/C++/QML. I was lucky enough to receive Nokia N950, so i am working on it intensely. Its not yet ready for a first release tho.
I will post updates on that one when they come.
TRX.
|
2011-11-09
, 17:09
|
Posts: 330 |
Thanked: 860 times |
Joined on May 2011
|
#47
|
The Following 3 Users Say Thank You to ric9K For This Useful Post: | ||
|
2011-11-10
, 00:08
|
Posts: 43 |
Thanked: 45 times |
Joined on Jun 2010
@ Sweden
|
#48
|
The Following 2 Users Say Thank You to sowwhatyoureap For This Useful Post: | ||
|
2011-12-13
, 19:32
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#49
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2012-02-22
, 11:46
|
Posts: 12 |
Thanked: 5 times |
Joined on Feb 2012
|
#50
|
The Following User Says Thank You to byakabs For This Useful Post: | ||
I'm afraid that at this point its unlikely, as the text edit component would need quite a bit of modifications to support word wrapping. I will however consider this for the future versions.
Also, if anyone has noticed any bugs or has new ideas, please let me know.
Edit: Oh, i have promoted TxPad-0.7.0-2 to Extras-Testing, please Vote up in order to promote it to Extras, thank you all.
TRX.
Last edited by trx; 2011-07-09 at 12:45.