brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Problem with long code #4845

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by openfunk Thursday Sep 19, 2013 at 18:13 GMT Originally opened as https://github.com/adobe/brackets/issues/5267


hi!

When the code is too long (like url google map), the cursor is positioned poorly and erases previous character

i put 2 photos, i hope you can understand the problem

1 2

core-ai-bot commented 3 years ago

Comment by lkcampbell Thursday Sep 19, 2013 at 18:30 GMT


@openfunk, can you cut and paste the exact text that is causing the problem into this issue so I can try to reproduce the issue?

core-ai-bot commented 3 years ago

Comment by openfunk Friday Sep 20, 2013 at 16:32 GMT


yep, this is the code:

De los barrios más tradicionales en Santiago, totalmente consolidado. Si bien no está en el centro de la ciudad, cuenta con todo el comercio relativamente cerca, y lo más importante, facilidad de transporte para acceder a cualquier rincón de esta hermosa ciudad. Ver Ubicación

is not the first time when i see this problem, this is why i tell i have problem's with "long codes"

cya!

Edit: sorry i dont know how put HTML code :/ but the important its the link (href)

core-ai-bot commented 3 years ago

Comment by lkcampbell Friday Sep 20, 2013 at 18:58 GMT


I can repro the issue and it is a duplicate of issue #4998. The problem is caused by the hyphens in the href, not the length of the text. Apparently, it doesn't even have to be special hyphens, just regular ones cause the problem as well. Remove the hyphens and you can see that the problem goes away.

I verified that your issue is fixed in CodeMirror but you will have to wait until Sprint 32 at least before this is fixed in Brackets.

Until then, the only workaround I can suggest is not using word wrap when you have long text containing hyphens.