![]() |
[Announce] TxPad - Advanced Code Editor for Fremantle
TxPad is a code editor i created for the Maemo OS.
http://txpad.devbin.org/images/txpad_ss_01.png Update 2012-10-09 New version is now in the repository. Changelog : Code:
Version 0.7.7 (2012-10-09) : http://txpad.devbin.org/images/txpad-0.7.0-colors.png Update 2011-03-06 After quite a few weeks, lots of work, and almost a complete rewrite, TxPad now uses Qt widget set. I have been mainly focused on getting TxPad to be as touch friendly as possible while trying make use of whatever the N900 has to offer. One of the new features is making use of the proximity sensor. For example kinetic scrolling mode is now enabled only while proximity sensor is closed. It also makes few toolbars visible only when closed in order to gain space for the code editor. http://txpad.devbin.org/images/txpad-0.7.0.png I added another new feature which will be usefull when dealing with large files are the bookmarks. http://txpad.devbin.org/images/txpad_ss_04.png There are few more things like use of the zoom keys for changing tabs or zooming, RegEx support for the search (& replace) functions, and other things you will see for yourself. Some of the current features are :
About highlighting, currently supported syntaxes are : Delphi, FPC, C, Java, Perl, HTML, XML, Python, lfm, sh, CSS, PHP, TeX, SQL, VB, Ini, Bat and JavaScript so far... TxPad is written in FPC and using Lazarus IDE (Using Qt widgetset). In order to compile the sources, you need to follow this tutorial or use the install scripts from the source tar... You can find TxPad in Extras-Devel. Any suggestions for new features are welcome... TRX. |
Re: [Announce] TxPad - Text/Code Editor
Wow! Seems like a better alternative to leafpad. And on-device compiling?? Waiting for that feature! :D
And oh... What about search/replace feature? RegEx support? and syntax highlighting? On what specific language is that? :D |
Re: [Announce] TxPad - Text/Code Editor
I am currently working on RegEx support for Search&Replace...
About highlighting, currently there is : Delphi, FPC, C(pp), Java, Perl, HTML, XML, Python, lfm, sh, CSS, PHP, TeX, SQL, VB so far... I will eventually add the ability to add more syntaxes... |
Re: [Announce] TxPad - Text/Code Editor
Quote:
|
Re: [Announce] TxPad - Text/Code Editor
It is on low priority already ;)
|
Re: [Announce] TxPad - Text/Code Editor
BTW one last question... How's the text encodings? Does it support multiple text encodings? Can it handle complex ones? Will download it later after going home.
|
Re: [Announce] TxPad - Text/Code Editor
|
Re: [Announce] TxPad - Text/Code Editor
Ok will wait for the text encodings also :p
|
Re: [Announce] TxPad - Text/Code Editor
First post is now updated.
|
Re: [Announce] TxPad - Text/Code Editor
thanks a lot for your work , seems it's good enough now to hit the repositories !
|
Re: [Announce] TxPad - Text/Code Editor
TxPad is now in extras-devel, enjoy.
|
Re: [Announce] TxPad - Text/Code Editor
Just tried out TxPad (latest version), but unfortunately all letters typed gets capitalized, e.g. INT MAIN (... Tapping or holding Shift while typing makes no change in the behaviour. For your information, I have a Swedish/Nordic N900 where the keyboard layout features 'å', 'ä' and 'ö'. I'm guessing it has something to do with keyboard mapping differences. Can you perhaps look into this?
Great work so far though, cool to have stuff like code folding and the layout looks nice. It would be good to be able to choose the color schemes for the foreground/background, since I like to code (on the N900) with a dark/black background. /sowwhatyoureap |
Re: [Announce] TxPad - Text/Code Editor
Hi, thank you for reporting this.
Does it happen with all the letters, or just Swedish/Nordic letters? How do the Fn keys behave (The "blue arrow" + Key), do they work properly? Also, does the Symbol dialog work ("blue arrow" + Sym) ? About the color schemes, that should be easy to implement, expect it in the next release... TRX. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
Waiting for that. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
I tried it again now, and it does actually print lower case letters if I hold Shift while typing. So something is going on with the keyboard layout. Quote:
Yep, the symbol dialog shows up with Fn + Sym as it should. However, it differs from the normal symbol dialog in that the letters ç, ñ and ß have become uppercase: TxPad: http://i53.tinypic.com/25tl3r6.png PyGtkEditor: http://i54.tinypic.com/8zfzh3.jpg Quote:
I noticed also that the Open dialog does not list the hidden folders such as .documents and .images in MyDocs, so it should also be fixed. Also, you can move the marker/cursor anywhere on the screen, e.g. outside the lines -- have you implemented the behaviour to be like that? It would be nice to be able to switch it off, since I'm used to the old style. /sowwhatyoureap |
Re: [Announce] TxPad - Text/Code Editor
Thank you for those details, i have found where the bug was, the diffrence was not the keyboard layout but the fact that i had the "Auto capitalisation" feature turned off..
As the text editor is a custom written widget, Qt (or whoever) considered every letter as the first letter... The bug has been fixed, thank you for your help. Quote:
Quote:
TRX. |
Re: [Announce] TxPad - Text/Code Editor
Couple UI things:
http://hosted.laasonen.net/attachment-ODQ6SV.png Dialogs could be higher or you could put them to two columns and use buttons. http://hosted.laasonen.net/attachment-JZHLTV.png Bold? http://hosted.laasonen.net/attachment-5P34SV.png "Tab Bar visible" doesn't fit to the button. Horizontal radio-buttons would look nicer :rolleyes: http://hosted.laasonen.net/attachment-ELMITV.png These arrows could be on right side of screen, so you could put your left thumb on the proximity sensor and use your right thumb to click them :) Quote:
|
Re: [Announce] TxPad - Text/Code Editor
Why is a proximityd installed with the editor ?
Runs it all the time in background ? |
Re: [Announce] TxPad - Text/Code Editor
Quote:
|
Re: [Announce] TxPad - Text/Code Editor
Quote:
Quote:
Quote:
Quote:
When the tab bar isn't visible, there are some controls in the upper right corner, "bookmarks" button is in the bottom right corner (also macros will be there with the next release), and when in fullscreen mode, the fullscreen button.. And if Find or Find and Replace is active, there is even less space... so moving it on the right side would require that it covers "two colums"... I don't know if that would "feel" right.. What do you guys think? Quote:
TRX. |
Re: [Announce] TxPad - Text/Code Editor
New version, 0.6.0 is now in extras-devel... Check the first post for change log..
Enjoy. TRX. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
Kinetic scrolling with the line number bar would be nice addition. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
What do you mean by line number bar? TRX. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
|
Re: [Announce] TxPad - Text/Code Editor
@trx
At last! After i don't know months :p My most awaited macro feature is now implemented lol! Thanks!!!! Now hoping for the code compiling feature. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
Quote:
TRX. |
Re: [Announce] TxPad - Text/Code Editor
Great work on the new version! Now it's probably going to be my default code editor for the N900. The battery life is also happy for the introduction of colour schemes :-)
Seeing that it opens a blank file at startup, it would be nice to have a menu pop up at startup from which you can choose to open the most recent files. Otherwise you have to navigate to the file each time the program starts. |
Re: [Announce] TxPad - Text/Code Editor
There is a "Open Recent" feature in File Menu already if you didn't notice, or were you saying that it should pop up on start up anyway?
TRX. |
Re: [Announce] TxPad - Text/Code Editor
I just noticed that hardware-keyboard mapped {, }, and ] symbols don't work for me if mapped to Shift+Fn+V, Shift+Fn+B, and Shift+Fn+M, respectively. Oddly, Shift+Fn+N mapped to [ works fine.
I have only barely used TxPad after this latest update, so I'm not sure if this was an issue on earlier versions. It may also only work for Shift+Fn+N because instead of ", I have a dead-double-acute (which converts to a " when combined with itself or a space) mapped to Fn+N. Another thing: It seems that the proximity sensor is still polled when you're not using the editor (at least, when you're in the task switcher, and cover the proximity sensor, you can see in the TxPad window that the proximity-sensor triggered menu comes up anyway - since constant proximity sensor polling is a rather high energy waste, and you might leave an open instance of TxPad in the background while spending a prolonged amount of time reading up on documentation or just doing anything else, it would be nice if the proximity sensor was only polled when TxPad was the currently open window, and at the same time was actually visible (I.E. the screen wasn't off). Other than that I really like this editor, and while I'm currently in the habit of using vi on my N900, I can easily see myself deferring to this when coding something actually complicated. - Edit - @ post two posts before this one - battery life will not be significantly effected regardless of color scheme - the kind of battery life savings you could get from different color schemes was if the screen's pixels could be made to turn off (I.E. not emit any light) when they're completely black - the N900's pixels don't do that, and "black" on the N900's screen is still not true black - as a result, the amount of energy used is either the same, or almost identical. The N900's screen also has a backlight which uses significantly more energy than the screen's pixels do, regardless of color. However, I DO like the option to change color scheme. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
Quote:
Quote:
TRX. |
Re: [Announce] TxPad - Text/Code Editor
Quote:
Quote:
|
Re: [Announce] TxPad - Text/Code Editor
Quote:
TRX. |
Re: [Announce] TxPad - Text/Code Editor
1 Attachment(s)
Merry Christmas.
Attachment 19499 I presume you don't need to be told to backup the relevant file. This is the original file, just copied over with the name "rx-51.txt" since talk.maemo.org doesn't like files without an extension as uploads. So there's no metadata that things like notepad/wordpad or whatever leave in .txt files. So, just mv/cp to /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 Edit - "original file" is bad wording choice. I mean, it's my current file, but it's the exact copy of it, not a copy-paste of the text in it. |
Re: [Announce] TxPad - Text/Code Editor
Can you please test those keys on other Qt apps, and see if they work? It seems that GTK handles them "properly" while Qt does not( at least the apps i tested). Can you confim this?
Edit: I have confirmed it, this is a Qt bug, and Qt guys said "custom key maps are not supported" :/ TRX. |
Re: [Announce] TxPad - Text/Code Editor
Yes; I only have one other Qt app off the top of my head installed currently (probably others I don't remember); namely, QtIrreco...
And you're right, the only custom-mapped button that works there is the same one that works for me in TxPad "[", for which the fn-key button is remapped to a dead instead of standard key. Annoying, this is, and I have some Qt people to complain to no doubt. xkb is pretty standard on Linuxes, no? Anyway, thank you for taking the time to investigate my issue. Much appreciated. |
Re: [Announce] TxPad - Text/Code Editor
Are there any feature requests or bugs noticed?
TRX. |
Re: [Announce] TxPad - Text/Code Editor
Nope till now, this program is very nice.
Thanks for this app! |
Re: [Announce] TxPad - Text/Code Editor
New version, 0.7.0 is now in extras-devel... Check the first post for the change log..
Enjoy. TRX. |
Re: [Announce] TxPad - Text/Code Editor
Thanks again trx! Great work you're almost competing it to windows' notepad++
|
Re: [Announce] TxPad - Text/Code Editor
Quote:
Cheers, Torsten |
| All times are GMT. The time now is 07:12. |
vBulletin® Version 3.8.8