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 smathfan1  
#1 Posted : 20 January 2018 06:59:01(UTC)
smathfan1

Rank: Newbie

Groups: Registered
Joined: 05/10/2014(UTC)
Posts: 8

Was thanked: 3 time(s) in 1 post(s)
Hello friends. Is there a search/replace function in sMath Studio? Sometimes you decide to change a variable name from x to x1, for example. If there is a “search, replace all”, then you don’t have to do it one by one and it will save a lot of time.

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

Offline Davide Carpi  
#2 Posted : 20 January 2018 10:37:36(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)
In a 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
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 20/01/2018(UTC)
Offline smathfan1  
#3 Posted : 25 January 2018 08:19:50(UTC)
smathfan1

Rank: Newbie

Groups: Registered
Joined: 05/10/2014(UTC)
Posts: 8

Was thanked: 3 time(s) in 1 post(s)
Hello Davide,
Thank you very much for your help. I downloaded 2 files: TextRegionUtilities.csproj and TextRegionUtilities.sln. How do I install them in sMath? And how do I use them to “replace all”?
Thank you again friend.
Offline Davide Carpi  
#4 Posted : 25 January 2018 12:31:48(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)
In your Smath Studio, go to: Tools > Plugins... > [switch the top-right button: Local Storage > Online Gallery] and search the plugin, then double click it or click on the install button, that's all Good

Edited by user 25 January 2018 13:55:12(UTC)  | Reason: typo

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline oftheair  
#5 Posted : 27 February 2018 13:52:02(UTC)
oftheair

Rank: Newbie

Groups: Registered
Joined: 16/04/2015(UTC)
Posts: 5

Quote:

In your Smath Studio, go to: Tools > Plugins... > [switch the top-right button: Local Storage > Online Gallery] and search the plugin, then double click it or click on the install button, that's all Good


Dear mr. Carpi

When I have reached the Online Gallery according your instructions the notebook freezes completely. Only the cursor can be moved. A lot of windows can be opened but nothing can be executed. The notebook can only be switched off by swithing off the power. (Pushing the on/off switch during 5 seconds.)

SMathStudiodesktop.099.6622
Lenovo Ideapad 500
Linux Mint 18 Cinnamon


Best regards,
oftheair
Offline Jean Giraud  
#6 Posted : 27 February 2018 16:51:21(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)
The F8 method works top/bottom within program, but fails partially in many more instances,
just follow/watch what has been changed/replaced ... as you may have to do individually.
Users browsing this topic
Guest
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.