GoMa
Oct 4 2004, 05:30 AM
This is version 2.1 of this panel I am developing per several requests from the forum users.
This panel displays an editable text box in which you can store whatever info you want. It can also display a text file's contents and update the text when the file updates.
NEW FEATURES FOR VERSION 2.1:
- Ability to display text in Right-to-Left direction.
- Ctrl-A now selects all the text.
- This version is only compatible with b86 and above!
NEW FEATURES FOR VERSION 2.0:
- Ability to display the file matching the DS skin and without the white background.
- Ability to save the text between sessions / save it to the text file.
- Ability to display a different text file each day (this is Prism's request). I know this feature isn't so flexible currently.
REQUIREMENTS:
- You must have installed the .NET Framework version 1.1 in order for this panel to work.
- You must use the latest DS build (currently build 86).
INSTALLATION:
- Download the file from the Extension Exchange, here:
http://www.desktopsidebar.com/ffdetails.php?id=188.
Make sure you save the file with a DSPACKAGE extension.
- Run the file (double click it) when Desktop Sidebar is running.
Please post any feedback in this thread, I will gladly accept it.

Thanks.
cs97gh1
Oct 4 2004, 05:39 AM
I think that this plug-in will be useful for many users that want to store unformated data for their everyday use.
As a first suggestion, i would be satisfied if text could be saved between sessions, in the case that no text file is used.
Thanks alot!!!
GoMa
Oct 4 2004, 05:42 AM
Yeah, added that right now. I'll wait for more suggestions though because releasing a version for one feature is ridiculous.
Syrus
Oct 4 2004, 06:27 AM
Yes, great panel! Just that what I've searched for.
Nice panel

If we could only save the file after editing it, the panel will be more useful.
GoMa
Oct 4 2004, 07:37 AM
Feature is in the works.
bloody
Oct 4 2004, 07:41 AM
this is pretty darn cool. this would have been so useful had i not accidentally deleted my game ost database.
i just noticed we don't have one of them crying emoticons.
Indian_Mayhem
Oct 4 2004, 07:58 AM
| QUOTE (GoMa @ Oct 4 2004, 05:37 PM) |
| Feature is in the works. |
Great
Kalior
Oct 4 2004, 12:48 PM
very nice, exactly what I was looking for.
one thing you might want to add if you have the time or motivation is the ability to drag .txt files into the field itself (a useful feature in notepad). Other than that, excellent work
GoMa
Oct 4 2004, 01:04 PM
Thanks.
It's a nice suggestion (drag-drop). I know how to implement it, because I have already done it with the File Browser panel.
dragon
Oct 4 2004, 01:25 PM
ahh finally

great stuff, thank you
antu^jamban
Oct 12 2004, 08:10 AM
I already have Notes Panel installed and I still want to have this panel too because of it features. But now my DS is getting crowded. GoMa, if you don't mind, how about integrating this panel features with the Notes Panel?
I think it's better to have a panel with multiple features than having many kinda-same panel with a few different features in each one of it.
yyy
Oct 12 2004, 01:38 PM
Mattisking was intrested in improving the Notes Editor panel so he might add such a feature.
Krimoufuk
Oct 14 2004, 05:44 AM
I'm so excited to see this plugin! I've always wanted this, since all other sidebars (SmartBar, even some other primitive ones) have this convenient textbox.
One thing I noticed that another
Free Sidebar (Codename Dashboard) that really impressed me was the use of several tabs that look like Firefox browser tabs. So, instead of having one note, you can have several. To switch between them, you simply click on the tabs. That was so amazing! Can your plugin be made to do such a function?
Excellent work you've done here!
GoMa
Oct 14 2004, 06:16 AM
Krimoufuk: that will kind of be reimplementing the Notes panel. I mean, this panel is meant for something other than editing notes, although I don't care if somebody used it for note taking.
Krimoufuk
Oct 14 2004, 06:49 PM
Ctrl + A doesn't work. It's a very convenient shortcut for Select All. Otherwise one'd need to right-click and select that function.
GoMa
Oct 14 2004, 08:10 PM
I will try to fix it, thanks.
GoMa
Oct 16 2004, 12:13 PM
Version 2.0 is out. Check the first post.
yyy
Oct 16 2004, 12:18 PM
GoMa - nice but there isn't an option to save the file

Hope you'll add it next version.
Small suggestion - it is hard to find the link to the panel download page - make it bold so more users can see it
GoMa
Oct 16 2004, 12:20 PM
yyy, there is an option. It's called "save the text between sessions".
yyy
Oct 16 2004, 12:23 PM
| QUOTE (GoMa @ Oct 16 2004, 10:20 PM) |
yyy, there is... both a link and an option. |
Oh, now I see that option

It is hidden

But I want an option to manualy save the file so I can be sure it is saved. Otherwise I have to quit DS to save it, right? Some people might not shut down their computers so this feature won't help them.
About the link - I've edited my post since I didn't see it in the first time. I think the link is hidden. But I see you made it clearer now
GoMa
Oct 16 2004, 12:24 PM
Hmm... you need to look harder.

I will add a manual save option in the next version.
yyy
Oct 16 2004, 12:24 PM
Great
jaba
Oct 17 2004, 11:27 AM
Would it be possible to introduce some basic formatting for the text? Say for example, if i surrounded a word with <b></b>,in the text file, it would make it display bold. Bold, underline, italic, and color would be great to have. You could use either html-like tags, or maybe tags like you use on this forum. This would be for the read-only mode of course.
Kalior
Oct 18 2004, 10:01 AM
version 2 is nice, the save between uses feature is very helpful
yyy
Oct 18 2004, 10:05 AM
| QUOTE (jaba @ Oct 17 2004, 09:27 PM) |
| Would it be possible to introduce some basic formatting for the text? Say for example, if i surrounded a word with <b></b>,in the text file, it would make it display bold. Bold, underline, italic, and color would be great to have. You could use either html-like tags, or maybe tags like you use on this forum. This would be for the read-only mode of course. |
I don't think he can. The panel uses a text box which doesn't allow formatted text

Maybe he needs to develop a new control in order to do it

But I'm not sure.
esolu
Oct 18 2004, 10:15 AM
GoMa,
Great panel. Can you implement a few shortcuts, in particular ctl+a. I use this panel a lot when developing and often I copy text that is formatted and need to paste it into a "Dumb" editor and then copy it again. I've been using this panel for that, however it is a lot faster if I can use ctl+a to select the text again.
In other words I would like to use it like this:
ctl+v - paste in(works)
ctl+a - select all text (doesnt work)
ctl+v - into my dev environment clean and unadulterated text.
GoMa
Oct 18 2004, 09:44 PM
| QUOTE (yyy @ Oct 18 2004, 08:05 PM) |
| QUOTE (jaba @ Oct 17 2004, 09:27 PM) | | Would it be possible to introduce some basic formatting for the text? Say for example, if i surrounded a word with <b></b>,in the text file, it would make it display bold. Bold, underline, italic, and color would be great to have. You could use either html-like tags, or maybe tags like you use on this forum. This would be for the read-only mode of course. |
I don't think he can. The panel uses a text box which doesn't allow formatted text  Maybe he needs to develop a new control in order to do it  But I'm not sure. |
Features for new version currently:
- Multilingual
- Drag'n'Drop text files.
- Ctrl-A
- Manual save in context menu.
- MAYBE simple HTML formatting support.
Unfortunately yyy is right. However, I will try my best to implement such a thing. It might be difficult.
mercichao
Oct 19 2004, 03:21 AM
how about auto save?
can make a option to let it able to auto save frequently?
or even saves if you type in any letter
i think it will be so cool
Prism
Oct 19 2004, 06:30 AM
I have a bug report and feature requests:
The panel can't read any Hebrew text. I've tried it in the non-editable mode, and it just skips the Hebrew letters.
I would like to have in this panel an option for right-aligning, and also another mode in the panel - something like "quotes" panel, which will get a file, and show its content line-by-line, each line after a few seconds/minutes.
GoMa
Oct 19 2004, 07:03 AM
I will try to implement "quotes" mode (it will not have this name though

).
Right aligning - do you know how I can do that? I remembered your request before releasing the second version, but didn't find a TextOutput method for that - do you know how to do that? Maybe it can be done through skinning? I'll look into it.
Hebrew - I did notice this but unfortunately I think there is nothing that can be done to cure that issue. I will contact kdam.
Autosave - I don't promise, but I will try to implement that.
eitaneko
Oct 19 2004, 08:16 AM
GoMa - for autosave, could you technically save the text to a file that is local to your panel's folder in the /appdata/desktop sidebar/plugins directory? and then on close you can either load from there or save to the ds config file?
Prism
Oct 19 2004, 10:01 AM
For the right aligning - use the CListOutput.SetRightToLeft(true) function.
But it doesn't really help without Hebrew support.
I have an idea, I'll look into it and tell you if it succeeds.
eitaneko
Oct 19 2004, 10:39 AM
i believe you can display hebrew characters in an IListOutput and ITextOutput, but I think only the list supports RTL characters. Try it out with my alarm panel. You can set the title as hebrew (RTL support will come later).
GoMa
Oct 19 2004, 10:45 AM
| QUOTE (Prism) |
| For the right aligning - use the CListOutput.SetRightToLeft(true) function |
I'm using a TextOutput, not a ListOutput.
| QUOTE (eitaneko) |
| i believe you can display hebrew characters in an IListOutput and ITextOutput, |
Well, doesn't work for me on ITextOutput.
| QUOTE (eitaneko) |
| GoMa - for autosave, could you technically save the text to a file that is local to your panel's folder in the /appdata/desktop sidebar/plugins directory? and then on close you can either load from there or save to the ds config file? |
If the panel does not display a text file's contents, then the text typed is saved to %appdata%\Desktop Sidebar\TextReader.txt.
It is not saved to the settings file.
Prism
Oct 19 2004, 10:53 AM
It seems quite strange that the TextOutput object doesn't support RTL.
I would suggest using ListOutput with one row. Shouldn't be so difficult to change.
GoMa
Oct 19 2004, 10:55 AM
It won't be difficult because of the way I have programmed the panel - I will implement this suggestion. Still, I will contact kdam and tell him about this - if it will be available on a near future build I will not change it.
Prism
Oct 19 2004, 10:55 AM
I've just solved the Hebrew problem: in order to see Hebrew letters, save the file in Unicode format, and not in the ANSI format which is Notepad's default.
It works just fine for me, now I'm just waiting for the RTL support.
Prism
Oct 19 2004, 11:01 AM
Another thing - the panel doesn't include an autofit support.
GoMa
Oct 19 2004, 11:03 AM
I'm happy you have found this solution!
Autofit - I don't think it is necessary for this kind of panel. Perhaps only when it's in non-editable mode?
yyy
Oct 19 2004, 11:04 AM
Oops - I think that

forgot the Right to Left option of the ITextOutput.

Even if you can do it by skinning, I think that it should be done by the panel's code, like with the IListOutput.
Prism
Oct 19 2004, 11:26 AM
| QUOTE (GoMa @ Oct 19 2004, 10:03 PM) |
| Autofit - I don't think it is necessary for this kind of panel. Perhaps only when it's in non-editable mode? |
That's exactly what I've ment.
Do you have an estimation for the next release?
GoMa
Oct 19 2004, 11:33 AM
| QUOTE (Prism @ Oct 19 2004, 09:26 PM) |
| QUOTE (GoMa @ Oct 19 2004, 10:03 PM) | | Autofit - I don't think it is necessary for this kind of panel. Perhaps only when it's in non-editable mode? |
That's exactly what I've ment.
Do you have an estimation for the next release?
|
When I have time.
GoMa
Oct 20 2004, 05:19 AM
Kdam told me that RTL support for TextOutput will probably be in build 85, so for the time being I will not include this feature.
However it might be possible to right align the text, which can get you the wanted effect - I will try to do this.
tbdean
Nov 4 2004, 02:50 PM
Any way to have CTRL + A do a Select All?
GoMa
Nov 4 2004, 09:49 PM
It's already implemented. I just want to include RTL support and then release it. In the coming days hopefully.
Prism
Nov 5 2004, 05:15 AM
Hasn't kdam fixed the textoutput RTL problem yet?
GoMa
Nov 5 2004, 05:17 AM
He has (at least there is a method for it, didn't check if it works yet).
tbdean
Nov 5 2004, 03:40 PM
Great, thanks!
Very much appreciated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.