Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5862

Search and Replace over Project replaced in the wrong place

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • Qt Creator 2.5.0-beta
    • Qt Creator 2.3.0-rc, Qt Creator 2.3.0
    • All Other Issues
    • None
    • Windows 7

    Description

      I asked to replace

      SensorId (filtered by CaseSensitive and WordOnly)
      with
      AreaPlanningLoader::SensorId

      but it replaced systematically in five lines below where it had preview the search results!

      so "ed int s" was replaced by the replacement text .....

      And this is undo-able (I was warned about it though, but it did not what it told before ....)

      HORROR!

       
            /// return the number of events on a segment
            unsigned int numberOfEvents(
               unsigned int sgmIdx,   ///< respects the reo
               const SensorId& sensor
               ) const throw (RunManagerException);
      
            /// return event number in selected segment (e.g. wpt number)
            unsigned int eventNumber(         
               unsignAreaPlanningLoader::SensorIdgmIdx,           ///< segment index respects the reo
               unsigned int eventIdx,         ///< local base index respects the reo
               const SensorId& sensor ///< sensor for the event numbering
               ) const throw (RunManagerException);
      
            /// return GeoPOV of event start in segment
            igi_crdsys::GeoPOV eventStart(
               unsignAreaPlanningLoader::SensorIdgmIdx,      ///< segment index respects the reo
               unsigned int eventIdx,     ///< local base index respects the reo
               const SensorId& sensor ///< sensor for the event numbering
               ) const throw (RunManagerException);
      
            /// return GeoPOV of event stop in segment
            igi_crdsys::GeoPOV eventStop(
               unsignAreaPlanningLoader::SensorIdgmIdx,      ///< segment index respects the reo
               unsigned int eventIdx,     ///< local base index respects the reo
               const SensorId& sensor ///< sensor for the event numbering
               ) const throw (RunManagerException);
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              con Eike Ziller
              moellney Michael Möllney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes