Skip to main content
Participating Frequently
June 16, 2018
Question

Why it takes so long selecting text and applying pragraph/character styles

  • June 16, 2018
  • 3 replies
  • 1765 views

I have a text file like below. It is only for one day. I have same text for every year day with different time values. It takes so long selecting the text and applying styles. There are tabs between every value. You can download the full text here sample.rtf - Google Drive


Göynücek    06.23    07.54    12.46    15.08    17.28    18.54    11.53

Gümüşhacıköy    06.25    07.57    12.47    15.07    17.28    18.54    11.52

Hamamözü    06.26    07.57    12.48    15.08    17.29    18.55    11.51

Merzifon    06.24    07.56    12.46    15.06    17.27    18.53    11.54

Suluova    06.23    07.55    12.46    15.06    17.27    18.53    11.55

Taşova    06.20    07.52    12.43    15.03    17.24    18.50    12.00

Alaca    06.25    07.56    12.49    15.11    17.32    18.57    11.48

Bayat-Çrm    06.28    08.00    12.51    15.12    17.33    18.59    11.45

Boğazkale    06.26    07.56    12.50    15.12    17.33    18.58    11.46

Dodurga    06.27    07.58    12.49    15.09    17.30    18.56    11.49

İskilip    06.28    07.59    12.50    15.11    17.32    18.58    11.47

Kargı    06.28    08.00    12.50    15.09    17.30    18.57    11.48

Laçin    06.26    07.58    12.49    15.09    17.30    18.56    11.50

Mecitözü    06.24    07.55    12.47    15.08    17.29    18.55    11.52

Oğuzlar    06.27    07.58    12.49    15.10    17.31    18.57    11.48

Ortaköy-Çrm    06.24    07.55    12.47    15.09    17.30    18.55    11.51

Osmancık    06.27    07.59    12.49    15.09    17.30    18.56    11.50

Sungurlu    06.27    07.58    12.51    15.13    17.34    18.59    11.45

Uğurludağ    06.27    07.58    12.50    15.12    17.33    18.58    11.46

This topic has been closed for replies.

3 replies

jane-e
Community Expert
Community Expert
June 16, 2018

alicinki  wrote

I have a text file like below. It is only for one day. I have same text for every year day with different time values. It takes so long selecting the text and applying styles.


Göynücek    06.23    07.54    12.46    15.08    17.28    18.54    11.53

Gümüşhacıköy    06.25    07.57    12.47    15.07    17.28    18.54    11.52

While you didn't ask this directly, I am going to step out on a limb and ask where you are using Character styles and how you are applying them. (You mentioned them in your title.) The only thing I can think of is that the names have some other formatting, such as bold, maybe. If so, are you using Nested styles as part of your Paragraph style and applying the Character style until the first tab?

If you are doing that manually, we can give you step-by-steps if you need them.

It is fast for me, by the way...

alicinkiAuthor
Participating Frequently
June 16, 2018

After placing the text.
I have a paragraph style named TIME. I apply it all my text and by using GREP I apply a character style to letters. This is my GREP [\l\u]

winterm
Legend
June 16, 2018

Heavy using of GREP in para style options has a known effect - there appear lags working with text.

But: your GREP is not complicated at all, and only one (there may be lots of those!).

I tried:

1. Apply para style to the whole text > 1,56 sec

2. Apply another style with different tab stop values and your GREP > 3,17 sec

Using a stopwatch in my phone (not a PRO software, heh )

Yes, it takes longer (expected), but not dramatically. No further lags.

However, for such kind of formatting Nested Style is absolutely enough (as jane-e suggests behind her question ), and you’ll gain a tiny bit of speed.

winterm
Legend
June 16, 2018

Tried to place your rtf with various options, but couldn't replicate the problem in any case. Everything works with an expected speed.

Did you try to place it into brand new indd doc? Copy/paste instead of placing?

Since there is no precious formatting done (as far as I see), why rtf? Maybe try to save as a plain text first, before placing? Or, at least, when placing in RTF Import Options select Remove Styles and Formatting from Text and Tables.

It's rather big amount of text, how about your hardware power? Did you try to place just a smaller part of the text? Still slow?

@ Bill Silbert

That's good idea, if in Preferences > File Handling Create Links When Placing Text option is activated. Usually people keep it OFF.

EDIT:

What is your ID version? From my own experience, CC versions manage big amounts of complex text slower than, say, CS6. Comparing on the same machine, of course.

alicinkiAuthor
Participating Frequently
June 16, 2018

I tried every importing options and the result is always the same. I am using .rtf because placing text with .rtf file takes less time than the other file formats. Placing times with different file types are as below.

.docx: 03min. 34sec.

.txt: 49sec.
.rtf: 29sec. (.rtf from .docx)
.doc: 20sec.
.rtf: 16sec (.rtf from .doc.)

Actually my problem begins after placing the text to ID. When I try to select the text every time ID freezes. I wait so long and then I can use it again. After applying a style it freezes again for a while.

winterm
Legend
June 16, 2018

That’s not at all normal. My timings with your file:

RTF file:

Choosing Remove Styles and Formatting: 3,47 sec

Choosing Preserve Styles and Formatting: 8,20 sec

TXT file (text copy/pasted to Notepad and saved here):

simply wasn’t able to measure: cursor loads with text instantly, right after hitting Open button in Place dialog.

**

Another thing, I can afford myself still stick with Win7/CS6. For a reason...

Bill Silbert
Community Expert
Community Expert
June 16, 2018

What version of InDesign and what operating system are you using? If you are working directly to and from the Google drive that you've given a link to try working locally and see if the problem persists. I have seen other posts which have had problems with Google drives.

alicinkiAuthor
Participating Frequently
June 16, 2018

I am using latest version of InDesing (13.1 x64) and win 10 pro