Memo Region

Memo Region - Extends SMath Studio with a Memo Region. - Messages

#1 Posted: 5/3/2014 7:49:29 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Memo Region

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources


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
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
Martin Kraska 5/3/2014 8:03:00 AM, ioan92 6/16/2014 8:44:00 AM, Davide Carpi 5/3/2014 6:09:00 PM
#2 Posted: 5/3/2014 8:14:49 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 5/3/2014 6:09:00 PM, Martin Kraska 5/3/2014 9:12:00 AM
#4 Posted: 5/3/2014 12:36:51 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. Small improvements.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 6/16/2014 3:22:54 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Quote

It 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.

Quote

In 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.

Quote

Is 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
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.

Wrote

You can change font with mouse wheel and Control key when region selected.


Disabled until the better implementation.
Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts