I'm writing code which should allow the user to edit certain sections, and I want to make it clear to the user where they should edit (it doesn't have to prevent them from editing other stuff). The user would select what they want to modify in the code (through a GUI) and it would take them to the correct section of the code. I thought of a number of options (unfolding only that section, disabling editing other code, moving to the correct line) but I couldn't find a command to do any of these things. (Having it display something in line through live editor won't work because it's a class). Does anyone know how you might implement this?
26 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723138
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723138
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723143
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723143
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723146
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723146
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723151
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723151
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723817
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723817
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723822
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723822
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723827
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723827
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723834
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723834
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723841
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723841
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723843
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723843
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723851
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723851
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723856
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723856
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723861
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723861
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723864
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723864
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723883
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723883
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723903
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723903
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723908
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723908
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723912
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723912
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723919
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723919
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723923
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723923
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723926
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723926
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723927
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723927
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723931
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723931
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723948
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_723948
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_724026
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_724026
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_724110
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/471054-specify-what-to-edit-for-user#comment_724110
Sign in to comment.