Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Good catch!  I'll be working on it.
12
Sorry I haven't bothered to make a small repo. I'm comparing

https://github.com/WebKit/WebKit/tree/main/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal

to

https://github.com/google/angle/tree/main/src/libANGLE/renderer/metal



If I click a file on the left



It seems to work



but if I click on the right



Often it opens the wrong file on the left



I was fairly confused about such big differences until I noticed they weren't the same file 😅

SlickEdit Pro 2021 (v26.0.1.0)
OS: macOS Monterey
OS Version: 12.1.0
Processor Architecture: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 64 bit (12 cores)

13
SlickEdit® / Re: Issues in build window after manually sshing to build machine there
« Last post by Clark on January 21, 2022, 10:07:18 pm »
The bug I'm looking for didn't happen here.  Search for "after_color_out_char1_not_here" in build-debug.xml. That's what I'm looking for. This latest installer is supposed to display a "say" debug window when that element is output. You may just be having problems due to running out of memory. You may need to restart to avoid running out of memory.

I did make a fix in this last build. However, the fix I made had to do with how backspace is handled and in the last debug file, there weren't any backspace characters.
14
Not sure if I caught it or not, but look for buildlog.tar.xz on support.

The debug version went haywire, there was a stack which you can see in the stack.log.

I figured I'd capture the debug output, but not sure any real problem in there.

I have noticed occasionally that the debug version runs out of memory and I have to restart it. That may have happened here, I'm not sure.
15
SlickEdit® / Re: SE not determining type of auto loop variable in C++
« Last post by rowbearto on January 21, 2022, 09:37:54 pm »
It is very time consuming for me to create reduced examples. For example for this one I have to learn the internals of range-based for loops which I didn't know before. I tried simplifying by posting my "mental model" and failed. What I put in the last post is identical to what I uploaded originally to support, I just changed some names.
16
SlickEdit® / Re: SE not determining type of auto loop variable in C++
« Last post by Dennis on January 21, 2022, 09:02:06 pm »
Thanks, I will also look at the example you uploaded, but the reduced example saves me a lot of time.  I appreciate that you spent the time to put it together.
17
Thank you, I was able to use the trial license you emailed to me.
18
SlickEdit® / Re: SE not determining type of auto loop variable in C++
« Last post by rowbearto on January 21, 2022, 08:40:07 pm »
Here's the full example in a format that I can post on a public forum. My upload to support has other stuff like my user.cfg.xml.

I verified that the clangd language server protocol is able to determine the type of the auto while SE cannot with this example. The clangd server does something close to compilation and is not showing any errors.

This has the .begin() method return an iterator with the required operators.

Search for the "REPRODUCE" in the code sample.

Code: [Select]
#include <memory>
namespace SomeOtherNamespace {
struct Struct33
{
};
template <class R>
class SomeReaderInterface {
 public:
  virtual void WaitFunc();
};
template <class R>
class SomeReader : public SomeReaderInterface<R> {
};
//
}

namespace some_namespace {
class SomeListType
{
};

}

namespace NameSpace7 {
class Class55;
template <typename Response>
class StreamReader {
  friend Class55;

  std::unique_ptr<SomeOtherNamespace::Struct33> context;
  std::unique_ptr<SomeOtherNamespace::SomeReader<Response>> reader;

 public:
  Response result;

  StreamReader() : context(new SomeOtherNamespace::Struct33) {}

  bool Read() {
    return false;
  }

  /**
   * Iterator for response stream.
   */
  class Iterator {
    friend StreamReader;

    StreamReader<Response> *reader;

    explicit Iterator(StreamReader<Response> *reader) : reader(reader) {}

   public:
    Iterator() : reader(nullptr) {}

    Response &operator*() {
      return reader->result;
    }

    Response *operator->() {
      return &reader->result;
    }

    Iterator &operator++() {
      if (!reader->Read()) reader = nullptr;
      return *this;
    }

    bool operator!=(const Iterator &other) {
      return reader != other.reader;
    }
  };

  /**
   * Returns an iterator for the response stream.
   */
  Iterator begin() {
    if (Read())
      return Iterator(this);
    else
      return Iterator();
  }

  /**
   * Returns an invalid iterator to mark the end of the response stream.
   */
  Iterator end() {
    return Iterator();
  }
};

}

namespace namespace99 {
class ClassName3
{
};

}


namespace application_common
{

  class NamespaceIntf
  {
    public:
      static NameSpace7::StreamReader<some_namespace::SomeListType>  GetFunction(namespace99::ClassName3& model);

  };

void myfunc()
{
  auto model_p = std::make_unique<namespace99::ClassName3>();
    auto reader = NamespaceIntf::GetFunction(*model_p);
    for (auto const &result : reader) {
      // REPRODUCE: Do a "Preview" window on 'result' below, it says that the type
      // of result is:
      //    const&:reader
      // however the type of 'result' should be:
      //    const some_namespace::SomeListType &
      // The clangd language server is able to correctly determine the type
      // but SlickEdit is not able to get the correct type.
      // clangd language server: https://clangd.llvm.org/
      result
    }
}

} // namespace application_common
19
SlickEdit® / Re: Python Live Errors stopped working after conda environment switch
« Last post by XrstalLens on January 21, 2022, 08:20:36 pm »
Thanks for the feedback. Nothing is showing up in the rte directory which is why I'm having so much trouble. If I delete the rte folder it does seem to get re-created, but it's not copying the source file nor creating an rteout file. I've already looked at all the profile settings and there are no overrides.
20
SlickEdit® / class members are undefined for secondary base class
« Last post by chip.dip on January 21, 2022, 07:41:18 pm »
class A : pubic B, public C
{
    structdefinedinClassC x;    // structdefinedinClassC is in public scope in class C
    int func1()
    {
            int y = x.somemember;
            return y;
    }
}

Slickedit v25.0.1.0 colors structdefinedinClassC and somemember as undefined.
Coloring recognizes Class B members.
Pages: 1 [2] 3 4 ... 10