Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Britt1  
#1 Posted : 09 April 2019 19:49:30(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Is there a find and replace function for formulas? Example, you have a bunch of formulas that have a subscript of 11 in variables, and you want to change all of the 11's to 3's?

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 09 April 2019 21:20:26(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hello,

Yes.

In a single math region, you can use the F8 key an you'll be able to rename all local variables/functions at once.

Globally, you can do it with the Text Region Utilities plugin.

2018-01-20 08_36_27-SMath Studio - [Page1_].png
2018-01-20 08_36_54-SMath Studio - [Page1_].png

Edited by user 09 April 2019 21:36:57(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#3 Posted : 09 April 2019 21:27:40(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

In a text region, nothing happens if I push "F8". Also, I have the text region utilities plugin on SMath, but don't know how to access it in the sheets. Also, I was also asking how to do this in an actual formula, not a text region.
Offline Davide Carpi  
#4 Posted : 09 April 2019 21:34:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Britt1 Go to Quoted Post
In a text region, nothing happens if I push "F8".

True, edited. Good


Originally Posted by: Britt1 Go to Quoted Post
Also, I have the text region utilities plugin on SMath, but don't know how to access it in the sheets.

Go to "Insert" > "Text region utilities" > "Toolbox"
This will add a small region in the worksheet. Right clik on the region to access the "Search and replace" dialog. You might have to evaluate the worksheet to make it working properly.

Originally Posted by: Britt1 Go to Quoted Post
Also, I was also asking how to do this in an actual formula, not a text region.

Both F8 and the TRU dialog are able to do that, just play with the options (uncheck "Text regions", check meaningful math options).

Edited by user 09 April 2019 21:36:33(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#5 Posted : 09 April 2019 21:39:46(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Do the above apply to version 0.99 (build: 7005)? our computer people have not updated to the current version.
Offline Britt1  
#6 Posted : 09 April 2019 21:48:07(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA




Originally Posted by: Britt1 Go to Quoted Post
Also, I have the text region utilities plugin on SMath, but don't know how to access it in the sheets.

Go to "Insert" > "Text region utilities" > "Toolbox"
This will add a small region in the worksheet. Right clik on the region to access the "Search and replace" dialog. You might have to evaluate the worksheet to make it working properly.

I don't see a "toolbox" under "text region utilities". Also, what do you mean by "evaluate the worksheet"?



Offline Davide Carpi  
#7 Posted : 09 April 2019 21:57:02(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Britt1 Go to Quoted Post
I don't see a "toolbox" under "text region utilities".

It's the third item: "Insert a toolbox"

TRU

Originally Posted by: Britt1 Go to Quoted Post
Also, what do you mean by "evaluate the worksheet"?


Perform a calculation of the whole worksheet.

You can do it by pressing F9 or with the menu option "Calculation" > "Recalculate page" or using the green "refresh arrows" in the toolbar.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#8 Posted : 09 April 2019 22:02:04(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Britt1 Go to Quoted Post
Is there a find and replace function for formulas? Example, you have a bunch of formulas that have a subscript of 11 in variables, and you want to change all of the 11's to 3's?

subscript(s) as number is pest. In general, subscripts just confuse
unless they are for didactic demo. If you have literal subscript(s)
it might then be easier to change via text.
.... example mnemonic ...type 'J' thermocouple in the range up 356 °C
J_356(mV):=f(x,Cool

Offline Britt1  
#9 Posted : 09 April 2019 22:09:46(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Britt1 Go to Quoted Post
I don't see a "toolbox" under "text region utilities".

It's the third item: "Insert a toolbox"

TRU

In my pulldown, there is nothing below "text region", except for "region protection"

Offline Davide Carpi  
#10 Posted : 09 April 2019 22:25:57(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
It's an old screenshot, unfortunately I'm from smartphone and I can't make an actual one.

However since a while items in insert menu are sorted by type (folders then simple items) and by name a to z, if you have it should be one of last folders
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#11 Posted : 09 April 2019 22:29:58(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: Davide Carpi Go to Quoted Post
It's an old screenshot, unfortunately I'm from smartphone and I can't make an actual one.

However since a while items in insert menu are sorted by type (folders then simple items) and by name a to z, if you have it should be one of last folders


"insert a toolbox" or toolbox, is not there, as far as I can see.
Offline Davide Carpi  
#12 Posted : 09 April 2019 22:50:46(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Then go to tools > plugins, and with the top right button set as "local storage" check if the plugin is in the list.

If it's there and disabled, you can enable it again.

If is missing, change the top button to "online gallery" and you can install it from the list.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#13 Posted : 09 April 2019 22:58:38(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: Davide Carpi Go to Quoted Post
Then go to tools > plugins, and with the top right button set as "local storage" check if the plugin is in the list.

If it's there and disabled, you can enable it again.

If is missing, change the top button to "online gallery" and you can install it from the list.


I don't know what is going on, because, the "standard ToolboxButtons" addin is there, and enabled, but it does not come in on the pulldown menu under insert.
Offline alyles  
#14 Posted : 09 April 2019 23:42:14(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 276
United States

Was thanked: 91 time(s) in 57 post(s)
It may be necessary to restart SMath if you just installed Text Region Utilities.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Britt1  
#15 Posted : 09 April 2019 23:45:11(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: alyles Go to Quoted Post
It may be necessary to restart SMath if you just installed Text Region Utilities.


I installed it about 3 weeks ago, and have restarted the computer every day since.
Offline Davide Carpi  
#16 Posted : 10 April 2019 00:35:10(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Britt1 Go to Quoted Post
I don't know what is going on, because, the "standard ToolboxButtons" addin is there, and enabled, but it does not come in on the pulldown menu under insert.


"Standard Toolbox Buttons" is the built-in plugin that handles the callapsible palettes on the right of the screen (Arithmetic, Matrices, Booleans, etc...)

Text region Utilities is a different addin and provides (even) the "toolbox region".

If you search "text" in your extensions manager and you have the plugin installed you should see something like this (SS 0.99.7005):

12.png

Edited by user 10 April 2019 00:42:06(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#17 Posted : 17 April 2019 18:45:05(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

I have Text Region Utilities now. Is there a way to use search and replace to just search a selected portion of the worksheet, and not search the whole worksheet? Can I select a certain portion of the worksheet and have SMath search and replace for just the selected area?
Offline Davide Carpi  
#18 Posted : 18 April 2019 00:20:10(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Britt1 Go to Quoted Post
I have Text Region Utilities now. Is there a way to use search and replace to just search a selected portion of the worksheet, and not search the whole worksheet? Can I select a certain portion of the worksheet and have SMath search and replace for just the selected area?


Not as for now.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#19 Posted : 18 April 2019 03:24:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Can I select a certain portion of the worksheet and have SMath search and replace for just the selected area?

Something like in Google search reporting all Lagrange highlighted yellow
from some books in PDF ... thus reporting all regions containing Lagrange
in an Smath document. Or otherwise search for π in math regions ?
By portion: Do you mean page range of several pageswork sheet ?
or in displayed on screen ?
Long Smath work sheet of several pages are rare as they soon suffer
from shadow in context [dog chasing his own tail].

Users browsing this topic
Guest
Similar Topics
Find and replace? (Questions)
by fedeghi 12/10/2021 15:56:42(UTC)
Find and replacement (Feature Requests)
by netsonicyxf 30/01/2021 12:24:43(UTC)
Find and replace variables (Questions)
by Guest 18/01/2016 17:22:04(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.