Author Topic: Can't search for spaces  (Read 16652 times)

jorick

  • Senior Community Member
  • Posts: 414
  • Hero Points: 17
  • Coffee...
Can't search for spaces
« on: July 17, 2025, 11:58:26 PM »
I think I found a bug.  I have a .c file with embedded ARM assembler in concatenated strings that clang-format screwed up majorly by adding hundreds of spaces before each string.  I tried to do a search and replace on the spaces (search for spaces, replace with nothing) but SE wouldn't allow me to paste the string into the Search For field.  I had to type "xx" in the field, insert the spaces between the x's and then delete the x's.  Is there a setting to not allow pasting of spaces?  Or is this a bug?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2929
  • Hero Points: 153
Re: Can't search for spaces
« Reply #1 on: July 18, 2025, 02:58:27 PM »
It could be SmartPaste making a mistake? @Clark?

You should be able to change and replace spaces for sure. I just tested it from the dialog. Could it have been a mix of tabs and spaces that you didn't see?

jorick

  • Senior Community Member
  • Posts: 414
  • Hero Points: 17
  • Coffee...
Re: Can't search for spaces
« Reply #2 on: July 18, 2025, 11:12:21 PM »
No, purely spaces.  And I can type spaces with no problem.  It's just pasting that it won't allow me to do.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2929
  • Hero Points: 153
Re: Can't search for spaces
« Reply #3 on: July 19, 2025, 12:08:10 AM »
You could shut off SmartPaste for that language and see if the result is the same.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7084
  • Hero Points: 537
Re: Can't search for spaces
« Reply #4 on: July 19, 2025, 02:24:32 PM »
This is too vague a post to know exactly what you're doing.

 Please provide precise steps for reproducing this using a default config: vs -sc <temppath>/newconfig
« Last Edit: July 19, 2025, 02:31:37 PM by Clark »

jorick

  • Senior Community Member
  • Posts: 414
  • Hero Points: 17
  • Coffee...
Re: Can't search for spaces
« Reply #5 on: July 21, 2025, 07:29:31 PM »
You could shut off SmartPaste for that language and see if the result is the same.
I turned off SmartPaste but it still won't let me paste spaces.

I'm seeing this in all dialog boxes and on the SE command line.  Open Options and try to paste spaces in the search box.  Normally at this point I'd think it was a Windows problem but I can paste spaces in dialog boxes in other programs.

I think I forgot to post my program info.

SlickEdit Pro 2024 (v29.0.3.0 64-bit Qt5)

Serial number: [redacted]
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\29\slickedit.lic

Build Date: June 18, 2025
Emulation: CodeWright

OS: Windows 11 x64
OS Version: 11.00.0 
Memory: 45% Load, 29251MB/64980MB Physical, 33508MB/69076MB Page File, 5233MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080 (0 0 1920 1080), 3840 x 2160 (1005 -2160 3200 1800), 3840 x 2160 (-2835 -2160 3200 1800)

Project Type: Gnuc
Language: . (Plain Text)
Encoding: ACP (1252)

Installation Directory: C:\Program Files\SlickEdit Pro 29.0.3\ (non-removable drive,NTFS,736911MB free)
Configuration Directory: C:\Users\RickyBennett\AppData\Local\SlickEdit\29.0.3\ (non-removable drive,NTFS,736911MB free)
Migrated from: C:\Users\RickyBennett\AppData\Local\SlickEdit\28.0.0\
Imported options from: 29.0.1.0
Spill File: C:\Users\RickyBennett\AppData\Local\Temp\slkspill.RickyBennett.25944 (non-removable drive,NTFS,736911MB free)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7084
  • Hero Points: 537
Re: Can't search for spaces
« Reply #6 on: July 21, 2025, 11:38:00 PM »
Thanks for finding this

A hot fix is available for this.

Download the hot fix here:

https://www.slickedit.com/hotfixes

Then load the hot fix: Help>Product Updates>Load Hot Fix...

mwb1100

  • Senior Community Member
  • Posts: 159
  • Hero Points: 13
Re: Can't search for spaces
« Reply #7 on: September 02, 2025, 11:11:25 PM »
I'm still on SlickEdit Pro 2023 (v28.0.2.0 64-bit Qt5) with hotfix_se2802_19_cumulative.

How could I apply a fix for this?  If the fix is in a macro function, I imagine I'd be OK with a simple patch for that function if getting a new hotfix for v28 is not in the cards.