Find and replace in source code view

Last post 01-29-2014, 2:16 PM by Kenneth. 5 replies.
Sort Posts: Previous Next
  •  01-28-2014, 5:24 AM 79846

    Find and replace in source code view

     Hi

     

    Can we have find and replace back in the source code view please. Its in the old editor.

    I tried altering the plugin.xml to show it, but it didn't popup the dialog when you click on the button.

     

    I just released the new editor yesterday and already had 2 people ask about it! 

     

    Thanks 

  •  01-28-2014, 5:44 AM 79847 in reply to 79846

    Re: Find and replace in source code view

    Hi AndyFel,

     

    You can custom the code view toolbar in file "\richtexteditor\plugins\toolbar_code\plugin.xml". The fine and replace button defined is below.

     

    1. <image jsml-base="image_{skin}_{color}" command="Find" tooltip="@FINDANDREPLACE" />  
     

    Regards,

     

    Ken 

  •  01-28-2014, 5:50 AM 79849 in reply to 79847

    Re: Find and replace in source code view

    Hi

    As stated in my question (maybe not clearly) I did edit the plugin.xml and uncommented the above, but when clicking the button nothing happens. I then assumed it was commented out because it doesn't work....

     

    Can you try it please.

     

    Thanks 

     

     

  •  01-29-2014, 8:04 AM 79860 in reply to 79849

    Re: Find and replace in source code view

    Hi AndyFel,

     

    Can you add the code I provided in that plugin.xml file and do not use the original commented section?

     

    Regards,

     

    Ken 

  •  01-29-2014, 8:40 AM 79862 in reply to 79860

    Re: Find and replace in source code view

     Hi

     

    Sorry didn't notice the slight difference. I pasted yours in, the find dialog now appears but it doesn't do as expected. It highlights the text in the normal view not the code view, so when I switch back to normal the text is highlighted. I would like the text to be highlighted in the code view. Actually depending on the browser it works differently in all. See below.

     

    The other thing we have noticed is that find does not work in IE11 it moans about object not supporting property or method find. Just tried IE8 (we have a lot of users on this!) and the find works in code view, but not the replace.

     

    So various browsers

    Chrome searching from codeview highlights it in normal view.

    Firefox doesn't highlight anything when searching from codeview 

    IE8 works as should but replace doesn't work in codeview.

    IE11 doesn't work at all normal or codeview.

     

    Sorry for being a pain...... 

  •  01-29-2014, 2:16 PM 79864 in reply to 79862

    Re: Find and replace in source code view

    Hi AndyFel,

     

    I will report this problem to the development team.

     

    Regards,

     

    Ken 

View as RSS news feed in XML