Bug #51072 No Find or Find/Replace in code windows
Submitted: 10 Feb 2010 21:49 Modified: 14 Apr 2010 19:37
Reporter: Martin Pirringer Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.15 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: Code Edit, find, REPLACE

[10 Feb 2010 21:49] Martin Pirringer
Description:
2 Part error

!.)
In WB "Mysql Model" In the "code area" (triggers, Stored procedures) There is no search or search/replace availabel at the time. This is especially annoying if you got a stored procedure about 200 lines long and you are looking for a spelling mistake. Clicking "Find" on the edit menu and the "Find" on the submenut will position the cursor in the find box in the top right corner and a search sometimes will be performed on the list of table names/stored routines/views but not the code. Clicking "Search & Replace has no effect

2.) In the Sql Editor windoe Clicking "Find" as above does nothing I can determine. Clicking "Search & Replace" Opens the Search & replace window and works as expected for one search (no repeats with F3) .

Temporary workaround:

A.) Highlight the area you want to search and copy it into a SQL-Editor window 
B.) Copy The selected code into a SQL-Editor Window
C.) Either Select Search & Replace from the menu or hit (CTRL+SHIFT+F)
D.) Perform your search Note only the first occurance after the cursor will be found
E.) Make your adjustments and copy it back.

How to repeat:
1.) In Modeler Select a Stored Routine or Trigger Then try to search for somethieng Hit CTRL+SHIT+F and see nothing happen.

2.) In SQL Editor enter some SQL statements HIT CTRL+F. The cursor jumps into the little box in the top right corner. Attempting a search will produce nothein

3.) In SQL Editor enter some SQL thein hit CTRL+SHIFT+F. Search for something and you will find it. Hitting F3 after that will do nothing. 

Suggested fix:
Fix the Search & Replace to find and replace code as expected.
[10 Feb 2010 22:41] MySQL Verification Team
Thank you for the bug report.
[14 Apr 2010 19:37] Alfredo Kojima
Duplicate of bug #52834, created to aggregate related bugs.