Glad to read that the Ctags problem is fixed now for you. I did not know that
Advanced - Configuration - Search - Set Find Output Format - Found Line is affecting the
Find Symbol feature. It is not possible to use tabs for found lines in the output window as you can read at
Find in Files output replaces tabs with spaces. This configuration setting is stored in
uedit32.ini with:
Code: Select all
[Find Out Format]
Found=1
Found String=$P($L): $S
Using multiple spaces should not be a problem. Or do you use
Find in Files with
Results to Edit Window where tabs are possible?
For your information: I just sent following two reports to IDM by email.
UE - Find Symbol not working for selected symbol name in Unicode file
I detected that in UE v16.20.0.1011 the command Find Symbol is not working if the active file is a Unicode file (UTF-16 or UTF-8), the symbol name is selected and then the command "Search - Find Symbol" is executed. UltraEdit shows in this case just the message "Could not find TAG".
To reproduce this problem unpack the content of the ZIP file into directory C:\Temp and open the project file CtagsUnicode.prj. File php_example.php is loaded which is a UTF-8 file with BOM. The cursor is already placed at line 9, column 20 - in the middle of symbol "microtimeFloat". If you execute now "Search - Find Symbol", the caret is moved to line 4.
As I already reported there is a mistake in UE v16.20 when positioning the caret to a line according to a line number in a Ctags tag file, or in the output window, or in the "List lines containing string dialog". The caret is set to column 2 of the line instead of column 1. This happens here, too.
However, the Find Symbol command worked. Go back to line 9 and double click on symbol "microtimeFloat" or execute "Edit - Select Word" to select this symbol. Execute now the command "Search - Find Symbol" and you get the error message "Could not find TAG". It looks like UE is not converting the selected string from Unicode to ASCII/ANSI as required to find the string in the ASCII/ANSI tag file created with Ctags.
Convert the file with "File - Conversions - UTF-8 to ASCII" to ASCII, select again symbol "microtimeFloat" in line 9 and execute the command "Find Symbol" again. Now the command works.
Update: This issue was fixed with UltraEdit for Windows v24.00 and UEStudio v17.00.
UE - Find Symbol not working with search pattern in Unicode file
I detected that in UE v16.20.0.1011 the command Find Symbol is not working if the target file is a Unicode file (UTF-16 or UTF-8) and Ctags stored the symbol name with a search pattern in the tag file. UltraEdit sets the cursor in this case to top of the the file instead of start of correct line.
To reproduce this problem unpack the content of the ZIP file into directory C:\Temp and open the project file CtagsUnicode.prj. File php_example.php is loaded which is a UTF-8 file with BOM. The cursor is already placed at line 9, column 20 - in the middle of symbol "microtimeFloat". If you execute now "Search - Find Symbol", the caret is moved to line 4.
That is working because the "Ctag Options" used to create the tag file were
-n -L %fi -f %fo
The parameter -n is not default, but is required to save the symbol name in the tag file with line number instead of a search pattern. So the tag file C:\Temp\CtagsUnicode\CtagsUnicode.tag contains as last line:
Code: Select all
microtimeFloat C:\Temp\CtagsUnicode\php_example.php 4;" f
Open "Project - Ctag Options" and change the options to default which is
-L %fi -f %fo
Execute now the command "Project - Create CTAG file". If you look into file C:\Temp\CtagsUnicode\CtagsUnicode.tag, you will see that the last line changes to:
Code: Select all
microtimeFloat C:\Temp\CtagsUnicode\php_example.php /^ function microtimeFloat ()$/;" f
So instead of a line number a search pattern is now stored in the tag file to find the symbol. But with caret at line 9 column 20, executing the command "Find Symbol" does not result in setting the caret to start of line 4 as it should. Instead the caret is set to top of the file. The reason is that the target file (= active file) is a Unicode file.
If you convert the file now with "File - Conversion - UTF-8 to ASCII" into an ASCII file, set the cursor again to line 9, column 20 and execute again command "Find Symbol", you will see that now there is no problem with the search pattern and the caret is set to line 4.
Conclusion: Find Symbol is not working correct for Unicode files when a search pattern is stored in the tag file.
Update: This issue was fixed with UltraEdit for Windows v24.00 and UEStudio v17.00.