[DEV] Custom Regions: issues / requests / ideas

[DEV] Custom Regions: issues / requests / ideas - Messages

#1 Posted: 9/19/2013 6:07:31 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

issues found in Custom Regions:

public override void ToXml(XmlTextWriter writer, FileParsingContext parsingContext)
the parsingContext.FileName is empty

public ovverride void OnMouseMove(MouseEventArgs e)
OnMouseMove can't recognize that the mouse goes outside the region when you move fast the pointer (mouse jumps out from the region and the coordinates are not updated)


(already) requested features (no rush):

- a way to customize region's borders (as idea a simple color control could be enough - switching the color to white or transparent one can draw customized borders inside the region - the default border color can be restored on region focus to show the standard resize layout);

- a way to hide resize's placeholders;


ideas:

- not sure if this is possible/easy to make: a way to add and handle an undefined number of variables' placeholders to place freely inside the region (this maybe with a way to disable the main placeholder)


best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 9/20/2013 3:30:00 PM
#2 Posted: 9/20/2013 2:12:56 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote



ideas:

- not sure if this is possible/easy to make: a way to add and handle an undefined number of variables' placeholders to place freely inside the region (this maybe with a way to disable the main placeholder)

- not sure if there is already a "standard way" to do this: a region to make "shapeshifter" functions ( i mean functions like sum(), el() , line(), sqrt(), etc... )


best regards,

Davide



I strongly support both proposals:
  • Multiple placeholders would be fine for axis limits and x and y expressions in diagrams (mathcad-like)
  • see image for proposals of custom operator formats (from "wish list.sm" in the Activebook).


wish list.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Davide Carpi 9/20/2013 5:47:00 PM
#3 Posted: 10/7/2013 7:04:01 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Another little issue (or is a feature?)

IPluginCustomRegion.TagName
is used to get the regions from the worksheet, but the tag name on the worksheet seems is set using the class/namespace name...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Posted: 1/24/2014 7:35:02 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

up!
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts