1 Pages (7 items)
Memo Region - Extends SMath Studio with a Memo Region. - Messages
#1 Posted: 5/3/2014 7:49:29 AM
Memo Region

Memo control based on Regions.Control and FastColorerTextBoxCF. Used as an example of the region without a place holder.
Short keys:
Ctrl + A - Select All
Ctrl + C - Copy
Ctrl + V - Paste
Ctrl + X - Cut
Ctrl + U - Upper/Lower Case
Ctrl + Left|Right
Ctrl + Shift + Left|Right
Ctrl + Home
Ctrl + End
Links:
1. Fast Colored TextBox for Syntax Highlighting (Pavel Torgashov).
![2014-05-03 17-00-34 SMath Studio Desktop - [Лист1.sm ].png](/en-US/file/PvePzF/2014-05-03-17-00-34-SMath-Studio-Desktop---_%D0%9B%D0%B8%D1%81%D1%821_sm-__png)





Memo control based on Regions.Control and FastColorerTextBoxCF. Used as an example of the region without a place holder.
Short keys:
Ctrl + A - Select All
Ctrl + C - Copy
Ctrl + V - Paste
Ctrl + X - Cut
Ctrl + U - Upper/Lower Case
Ctrl + Left|Right
Ctrl + Shift + Left|Right
Ctrl + Home
Ctrl + End
Links:
1. Fast Colored TextBox for Syntax Highlighting (Pavel Torgashov).
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
#2 Posted: 5/3/2014 8:14:49 AM
Is there a chance for a general rtf region which calls an appropriate editor upon double click either in place or in a separate window? That could partly adress SS-47.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 5/3/2014 8:31:49 AM
All these editors are based on RichEdit control, which has their own canvas for drawing. We can't use it due to the fact that the components do not support this capability. The only way - do it yourself, like I do it. Another way - wait until Andrey change the input method for the SMath worksheet (he thinks about it).
Other methods will not be portable I think.
Other methods will not be portable I think.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
#4 Posted: 5/3/2014 12:36:51 PM
Updated. Small improvements.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 6/16/2014 3:22:54 AM
Updated.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 6/16/2014 8:43:00 AM
#6 Posted: 6/16/2014 9:50:12 AM
QuoteIt reacts at the font size changement but it seems adapted only for font size 10 ?
You can change font with mouse wheel and Control key when region selected.
QuoteIn the source that you had indicated it seems that the fonts and the colors (text and background) can be handled (?).
This is not entirely true. Component has no internal data to store information about the properties of the text. Syntax highlighting is performed on the fly. You can not arbitrarily change the color, etc. The only thing what you can do - create highlighting rules.
QuoteIs it imaginable to control this propeties in a similar way as in Davide's plugins (buttons, combobox etc.) ?
I need to see this. If you talk about the properties of the text, as I said above can't modify them.
Not everything works as it should.
Short keys:
Ctrl + A - Select All
Ctrl + C - Copy
Ctrl + V - Paste
Ctrl + X - Cut
Ctrl + U - Upper/Lower Case
Ctrl + Left|Right
Ctrl + Shift + Left|Right
Ctrl + Home
Ctrl + End
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
ioan92 6/16/2014 11:12:00 AM
#7 Posted: 9/18/2018 2:53:35 PM
Updated. Version 0.2.x.x.
Changes:
- xml serialization format changed;
- reworked.
Old versions of the plugin will not be able to open files of a new format.
Disabled until the better implementation.
Changes:
- xml serialization format changed;
- reworked.
Old versions of the plugin will not be able to open files of a new format.
WroteYou can change font with mouse wheel and Control key when region selected.
Disabled until the better implementation.
Russia ☭ forever, Viacheslav N. Mezentsev
1 Pages (7 items)
-
New Posts
-
No New Posts